Allow hyperbolic orbits to stay within the bounds of a plot
See original GitHub issueAfter #19 was fixed plotting only one hyperbolic orbit looks okay, but there can be cases when one wants it to do something like this:
This plot needed a patch in _generate_vals
(hence tagging it as a bug), but it only works for cases where there’s a previous closed orbit plotted. The logic to handle both cases has to be more complex.
Issue Analytics
- State:
- Created 8 years ago
- Comments:22 (21 by maintainers)
Top Results From Across the Web
Hyperbolic Orbit - an overview | ScienceDirect Topics
Typically, interstellar dust particles move on unbound, hyperbolic orbits through the solar system. Similarly, interplanetary particles are unbound to any ...
Read more >Hyperbolic trajectory - Wikipedia
In astrodynamics or celestial mechanics, a hyperbolic trajectory or hyperbolic orbit is the trajectory of any object around a central body with more...
Read more >AEE462 Lecture 5, Part A - Moving Hyperbolic Orbits in Time
We repeat Lecture 4 in the case of Hyperbolic Trajectories ( Orbits ). We define Hyperbolic anomaly, hyperbolic Mean Anomaly, and a hyperbolic...
Read more >13.5 Kepler's Laws of Planetary Motion - Lumen Learning
Summary. All orbital motion follows the path of a conic section. Bound or closed orbits are either a circle or an ellipse; unbounded...
Read more >Basics of Space Flight: Orbital Mechanics
These considerations apply equally well to the motion of a satellite about a planet. Let's examine the case of two bodies of masses...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I stumbled upon this again while running the notebook I mentioned above. This is the code to reproduce with the current master:
Plotting each of them separately works:
(notice the slight bug in the hyperbolic one?)
However, plotting them together shows only the big, elliptic orbit (regardless of the order):
Therefore, it’s not enough to compute the limit
nu_values
for hyperbolic orbits inside thesample
method: the plotting code should set them, depending on the bounds of the plot or some other parameter. Still not sure how to fix this.Perhaps it’s not really something we can solve. Our current APIs allow you to clip the axis and change its limits, so perhaps that’s enough. I’m closing this.