rigid_body_motion.plot.reference_frame¶
- rigid_body_motion.plot.reference_frame(frame, world_frame=None, ax=None, figsize=(6, 6), arrow_len=1.0)¶
Plot a 3D coordinate system representing a static reference frame.
- Parameters
- frame: str or ReferenceFrame
The reference frame to plot. If str, the frame will be looked up in the registry under that name.
- world_frame: str or ReferenceFrame, optional
If specified, the world reference frame that defines the origin of the plot. If str, the frame will be looked up in the registry under that name.
- ax: matplotlib.axes.Axes instance, optional
If provided, plot the points onto these axes.
- figsize:
If ax is not provided, create a figure of this size.
- arrow_len:
Length of the arrows of the coordinate system.
- Returns
- arrows: list of Arrow3D
A list of three arrows representing the plotted coordinate system.