| 1 | initial version |
Here, you want this instead:
myplot = lambda r: plot(x^r, (x, -1, 1))
Then you can do:
myplot(3)
to get the plot of $x \mapsto x^3$.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.