Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Modifying x-axis/y-axis with plotting

Hello,

I have been looking at the sage documentation, particularly at the plot function: http://doc.sagemath.org/html/en/reference/plotting/sage/plot/plot.html#sage.plot.plot.plot

I notice that in the examples they have a means of restricting the x values, like so:

plot(x^2, (x, 0, 10))

However, I can't seem to find any documentation on this feature. The function definition for the plot function does not many any mention of being able to do this, so it follows that I am not entirely sure what exactly I can do with this feature..

Can someone be of assistance in helping me figure out where this is document, if anywhere?

Additionally, is there a way then to modify the scale of the x/y axis with the plot function, or modify the steps between displayed values?