Namespace astrea::astro::plotting¶
Namespace List > astrea > astro > plotting
Public Functions¶
| Type | Name |
|---|---|
| void | compare_orbital_elements (const std::vector< StateHistory > & trajectories, const std::vector< std::string > & labels, const std::filesystem::path & outfile) Compares multiple trajectories by plotting their orbital elements. |
| void | compare_trajectories (const std::vector< StateHistory > & trajectories, const std::vector< std::string > & labels, const std::filesystem::path & outfile) Compares multiple trajectories by plotting their Cartesian components. |
| void | plot_difference_orbital_elements (const StateHistory expected, const std::vector< StateHistory > & trajectories, const std::vector< std::string > & labels, const std::filesystem::path & outfile) Compares multiple trajectories by plotting their orbital elements. |
| void | plot_difference_trajectories (const StateHistory expected, const std::vector< StateHistory > & trajectories, const std::vector< std::string > & labels, const std::filesystem::path & outfile) Compares multiple trajectories by plotting their Cartesian components. |
| void | plot_orbital_elements (const StateHistory & trajectory, const std::filesystem::path & outfile) Plots the orbital elements of a trajectory. |
| void | plot_trajectory (const StateHistory & trajectory, const std::filesystem::path & outfile) Plots the Cartesian trajectory. |
Public Functions Documentation¶
function compare_orbital_elements¶
Compares multiple trajectories by plotting their orbital elements.
void astrea::astro::plotting::compare_orbital_elements (
const std::vector< StateHistory > & trajectories,
const std::vector< std::string > & labels,
const std::filesystem::path & outfile
)
Parameters:
trajectoriesA vector of state histories representing the trajectories.labelsA vector of labels for each trajectory.outfileThe path to the file to save the comparison plot.
function compare_trajectories¶
Compares multiple trajectories by plotting their Cartesian components.
void astrea::astro::plotting::compare_trajectories (
const std::vector< StateHistory > & trajectories,
const std::vector< std::string > & labels,
const std::filesystem::path & outfile
)
Parameters:
trajectoriesA vector of state histories representing the trajectories.labelsA vector of labels for each trajectory.outfileThe path to the file to save the comparison plot.
function plot_difference_orbital_elements¶
Compares multiple trajectories by plotting their orbital elements.
void astrea::astro::plotting::plot_difference_orbital_elements (
const StateHistory expected,
const std::vector< StateHistory > & trajectories,
const std::vector< std::string > & labels,
const std::filesystem::path & outfile
)
Parameters:
trajectoriesA vector of state histories representing the trajectories.labelsA vector of labels for each trajectory.outfileThe path to the file to save the comparison plot.
function plot_difference_trajectories¶
Compares multiple trajectories by plotting their Cartesian components.
void astrea::astro::plotting::plot_difference_trajectories (
const StateHistory expected,
const std::vector< StateHistory > & trajectories,
const std::vector< std::string > & labels,
const std::filesystem::path & outfile
)
Parameters:
trajectoriesA vector of state histories representing the trajectories.labelsA vector of labels for each trajectory.outfileThe path to the file to save the comparison plot.
function plot_orbital_elements¶
Plots the orbital elements of a trajectory.
void astrea::astro::plotting::plot_orbital_elements (
const StateHistory & trajectory,
const std::filesystem::path & outfile
)
Parameters:
trajectoryThe state history representing the trajectory.outfileThe path to the file to save the plot.
function plot_trajectory¶
Plots the Cartesian trajectory.
void astrea::astro::plotting::plot_trajectory (
const StateHistory & trajectory,
const std::filesystem::path & outfile
)
Parameters:
trajectoryThe state history representing the trajectory.outfileThe path to the file to save the plot.
The documentation for this class was generated from the following file astrea/astro/astro/utilities/plotting.cpp