poliastro2.plotting.misc

Functions

plot_solar_system([epoch, labels, outer, ...])

Plots the whole solar system in one single call.

poliastro2.plotting.misc.plot_solar_system(epoch=None, labels=None, outer=True, backend=None, length_scale_units=Unit('km'))

Plots the whole solar system in one single call.

Added in version 0.9.0.

Parameters:
  • epoch (Time, optional) – Epoch value of the plot, default to J2000.

  • labels (list[str]) – A list of strings containing the labels of the bodies.

  • outer (bool, optional) – Whether to print the outer Solar System, default to True.

  • backend (OrbitPlotterBackend) – An instance of OrbitPlotterBackend for rendendering the scene.

  • length_scale_units (Unit) – Desired units of lenght used for representing distances.

Returns:

An object for plotting orbits.

Return type:

OrbitPlotter