Hiding vertical asymptotes and showing horizontal asymptotes in Mathematica plots

  • Topic: Mathematica 
  • Thread starter Thread starter Stroodle
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 13K views
Stroodle
Messages
26
Reaction score
0
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 [tex]y=\frac{a}{x-h}+k[/tex] 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.

Thanks for your help
 
Physics news on Phys.org
To turn off the vertical asymptote use the option Exclusions->h

To show a horizontal or diagonal asymptote simply plot it.