| 1 | initial version |
The documentation of plotting options is indeed cumbersome and hard to track. As you can see in the doc of the plot function:
sage: plot?
You can read:
* For the other keyword options that the "plot" function can
take, refer to the method "show()" and the further options
below.
So, you can access to more options by doing:
sage: p = plot(-1/2*x+1,(x,-2, 8), rgbcolor=('#00c147'))
sage: p.show?
Then you will read how to use a ticks option, so that at the end, you can do something like:
sage: plot(-1/2*x+1,(x,-2, 8), rgbcolor=('#00c147'), ticks=(range(-2,9),range(-3,3)))
There are many more options. In particular, you can see how to pass most matplotlib tricks to tune your plot.
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.