Skip to content

File plotting.hpp

File List > astrea > astro > astro > utilities > plotting.hpp

Go to the documentation of this file

#include <filesystem>
#include <string>
#include <vector>

#include <matplot/matplot.h>

#include <astro/astro.fwd.hpp>

namespace astrea {
namespace astro {
namespace plotting {

void plot_orbital_elements(const StateHistory& trajectory, const std::filesystem::path& outfile);

void plot_trajectory(const StateHistory& trajectory, const std::filesystem::path& outfile);

void compare_orbital_elements(const std::vector<StateHistory>& trajectories, const std::vector<std::string>& labels, const std::filesystem::path& outfile);
void compare_trajectories(const std::vector<StateHistory>& trajectories, const std::vector<std::string>& labels, const std::filesystem::path& outfile);

void plot_difference_orbital_elements(
    const StateHistory expected,
    const std::vector<StateHistory>& trajectories,
    const std::vector<std::string>& labels,
    const std::filesystem::path& outfile
);
void plot_difference_trajectories(
    const StateHistory expected,
    const std::vector<StateHistory>& trajectories,
    const std::vector<std::string>& labels,
    const std::filesystem::path& outfile
);

} // namespace plotting
} // namespace astro
} // namespace astrea