ssapy_toolkit.Plots.orbit_plot_rv

ssapy_toolkit.Plots.orbit_plot_rv(state_vectors, colors=False, mu=398600441800000.0, show=True, c='black', figsize=(7, 7), save_path=False, title='')[source]

Plots the 3D orbital ellipse(s) given one or more sets of state vectors.

Parameters:
state_vectors: Single tuple (r, v) or list of tuples [(r1, v1), (r2, v2), …]
  • r (array): Position vector in meters (SI units)

  • v (array): Velocity vector in m/s (SI units)

mu (float): Gravitational parameter (default: Earth’s, m^3/s^2) show (bool): If True, display the plot c (str): Color theme (‘black’, ‘b’, ‘white’, ‘w’) figsize (tuple): Figure size (width, height) save_path (str or False): Path to save plot, or False to not save

Author: Travis Yeager (yeager7@llnl.gov)