Program Listing for File matplot.h¶
↰ Return to documentation for file (interfaces/matplot.h)
#include <matplot/matplot.h>
#include "lupnt/core/constants.h"
#pragma once
namespace lupnt {
matplot::line_handle Plot3(const VecX& x, const VecX& y, const VecX& z,
std::string_view line_spec = "");
matplot::line_handle Plot3(const MatX& xyz, std::string_view line_spec);
matplot::line_handle Scatter3(const Vec3& xyz, std::string_view line_spec = "");
matplot::line_handle Scatter(const Vec2& xyz, std::string_view line_spec = "");
matplot::line_handle Scatter(const MatX2& xyz, std::string_view line_spec = "");
matplot::line_handle PlotArrow3(const Vec3& center, const Vec3& dir, std::string_view line_spec);
std::vector<matplot::line_handle> PlotFrame(const Vec3& center, const Mat3& R);
matplot::line_handle Plot(const VecX& x, const VecX& y, std::string_view line_spec = "");
matplot::surface_handle PlotBody(BodyId body, Vec3 r_body = Vec3::Zero());
void SetLim(Real lim);
void SetLim(Real lim_min, Real lim_max);
} // namespace lupnt