.. _program_listing_file_interfaces_matplot.h: Program Listing for File matplot.h ================================== |exhale_lsh| :ref:`Return to documentation for file ` (``interfaces/matplot.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #include #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 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