plot_orbits: Plot Orbital Trajectories (Smart 2D/3D Dispatch)

View source: R/plot_data.R

plot_orbitsR Documentation

Plot Orbital Trajectories (Smart 2D/3D Dispatch)

Description

Plot Orbital Trajectories (Smart 2D/3D Dispatch)

Usage

plot_orbits(sim_data, three_d = NULL)

Arguments

sim_data

A tibble output from 'simulate_system()'

three_d

Logical. If TRUE, forces a 3D plot even for 2D data.

Value

A 'ggplot' object (2D) or a 'plotly' HTML widget (3D) showing the orbital trajectories of all bodies in the simulation.


orbitr documentation built on Oct. 2, 2026, 1:06 a.m.