Mathematica truncates my curves

Click For Summary
SUMMARY

This discussion centers on the issue of curve truncation in Mathematica when plotting the effective gravitational potential with angular momentum. The user experiences significant truncation near the vertical asymptote at r = 0, which is expected due to the function's divergence. The solution identified is to utilize the ParametricPlot function instead of the standard Plot function to achieve a more accurate representation of the curves within the range of r = 0 to r = 10.

PREREQUISITES
  • Familiarity with Mathematica software
  • Understanding of parametric equations
  • Knowledge of graphing functions and their asymptotic behavior
  • Basic concepts of effective gravitational potential
NEXT STEPS
  • Research the ParametricPlot function in Mathematica
  • Explore techniques for handling asymptotic behavior in mathematical plots
  • Learn about function divergence and its implications in graphing
  • Investigate advanced plotting options in Mathematica for better visualizations
USEFUL FOR

Mathematics students, physicists, and researchers using Mathematica for plotting complex functions, particularly those dealing with asymptotic behavior and parametric equations.

Barnak
Messages
62
Reaction score
0
I'm ploting a simple function (the effective gravitationnal potentiel with angular momentum part) with Mathematica, and I'm getting some truncated curves close to the vertical asymptote located at r = 0 (see the picture below). Of course, this is normal since the function V(r) diverges at r = 0, but why Mathematica is truncating the first two curves that much ? How can I tell it to draw the curves more closely to the left ?

I'm ploting the curves in the range r = 0 to r = 10, so I should get some better extended curves...

What Mathematica command should I add to get better curves ?
 

Attachments

  • truncated.jpg
    truncated.jpg
    20.8 KB · Views: 491
Computer science news on Phys.org
Aaah ! I've found it ! Just use ParametricPlot instead of a simple Plot.

See the picture below :
 

Attachments

  • graph.jpg
    graph.jpg
    20.6 KB · Views: 512

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K