Ask Your Question

Revision history [back]

click to hide/show revision 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))