You were probably using a "curve tracer" function that would plot component response to a voltage sweep.
You can't do it with "just" the scope.
But you can use the scope to view the results using a very easy external circuit (called an "octopus").
See Alan's excellent YouTube video on the topic:
And another one on how to do it with a function generator + scope: