Ask Your Question

Revision history [back]

sage: p = plot(tan(x), x, -pi, pi, detect_poles=True)
sage: p.show(xmin=-pi, xmax=pi, ymin=-10, ymax=10)

You can try with detect_poles=True :

sage: p = plot(tan(x), x, -pi, pi, detect_poles=True)
sage: p.show(xmin=-pi, xmax=pi, ymin=-10, ymax=10)

You can get the documentation of the plot function by typing:

sage: plot?