Mathematica Plotting (& not plotting) Asymptotes in Mathematica

Click For Summary
To plot a graph of the equation y=a/(x-h)+k in Mathematica without displaying the vertical asymptote, use the option Exclusions->h. To include a horizontal or diagonal asymptote in the graph, simply plot it alongside the main equation. This approach allows for clear visualization of the desired features in the graph.
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 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.

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.
 
Awesome. Thanks for your help.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K