| 1 | initial version |
Sage wants to put two tickmarks on the graph and is asking that you extend the x-range so that it can do so. Try changing the code to:
show(plot(sin(a*x+b), (x,0,a*pi),ticks=pi/2*a,tick_formatter='latex',gridlines=True))
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.