1 | initial version |
Try the exclude
optional argument to plot to tell sage to ignore specific points not in the domain of the function, e.g.
plot(arcsec(x), (x,-8,8), exclude=[-1,1])
Note that this option technically just excludes the poles at x=-1
and x=1
but Sage gracefully ignores the points in between which are not in the domain.