| 1 | initial version |
GIven a Python/Sage object p, you can get the list of available methods by doing p.<TAB_BUTTON>, so you can see that there is a set_axes_range method. Then, you can see its documentation by doing p.set_axes_range?. In you case, you can do:
sage: p.set_axes_range(xmin=-3, xmax=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.