Revision history [back]

You can also use the detect_poles option to not draw the vertical line

plot(1/(x-3),(x,0,5), detect_poles=True,ymin=-2,ymax=2)


You can also use the detect_poles detect_poles option to not draw the vertical line

plot(1/(x-3),(x,0,5), detect_poles=True,ymin=-2,ymax=2)


Or even better, have it automatically draw the asymptote:

plot(1/(x-3),(x,0,5), detect_poles='show',ymin=-2,ymax=2)