Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting (& not plotting) Asymptotes in Mathematica

  1. Jul 4, 2009 #1

    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
  2. jcsd
  3. Jul 4, 2009 #2


    Staff: Mentor

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

    To show a horizontal or diagonal asymptote simply plot it.
  4. Jul 5, 2009 #3
    Awesome. Thanks for your help.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook