Function lupnt::PlotFrame¶
Defined in File maplot.cc
Function Documentation¶
-
std::vector<matplot::line_handle> lupnt::PlotFrame(const Vec3 ¢er, const Mat3 &R)¶
Draw the three axes of a rotation matrix
Ras colored arrows (red/green/blue for x/y/z) originating atcenter.Used in examples to visualize attitude/frame-rotation results, e.g. plotting a body or LVLH frame triad alongside a propagated trajectory.
- Parameters:
center – Origin of the frame triad [length units]
R – Rotation matrix whose rows are the frame’s basis vectors expressed in the plotting frame
- Returns:
Handles to the three drawn arrows (x, y, z axes)