Mathematica truncates my curves

AI Thread Summary
The discussion revolves around plotting the effective gravitational potential with angular momentum using Mathematica. The user encountered truncated curves near the vertical asymptote at r = 0, which is expected due to the function V(r) diverging at that point. The initial plotting range was from r = 0 to r = 10, but the curves were not extending as desired. The solution was found by switching from the standard Plot command to ParametricPlot, which allowed for better representation of the curves closer to the vertical asymptote.
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: 476
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: 495
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top