# Plotting (& not plotting) Asymptotes in Mathematica

1. ### Stroodle

26
Hi.

I'm just starting to learn how to use Mathematica, and I'd like to know if there's a way to plot a graph of an equation, such
as $$y=\frac{a}{x-h}+k$$ without it showing the vertical asymptote

I would also like to know if there's a way to show the horizontal asymptote on the graph.

### Staff: Mentor

To turn off the vertical asymptote use the option Exclusions->h

To show a horizontal or diagonal asymptote simply plot it.

26