| plot_orbits | R Documentation |
Plot Orbital Trajectories (Smart 2D/3D Dispatch)
plot_orbits(sim_data, three_d = NULL)
sim_data |
A tibble output from 'simulate_system()' |
three_d |
Logical. If TRUE, forces a 3D plot even for 2D data. |
A 'ggplot' object (2D) or a 'plotly' HTML widget (3D) showing the orbital trajectories of all bodies in the simulation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.