rigid_body_motion.plot.vectors¶
- rigid_body_motion.plot.vectors(arr, base=None, ax=None, figsize=(6, 6), **kwargs)¶
Plot an array of 3D vectors.
- Parameters
- arr: array_like, shape (3,) or (N, 3)
Array of 3D points to plot.
- base: array_like, shape (3,) or (N, 3), optional
If provided, base points of the vectors.
- 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.
- kwargs:
Additional keyword arguments passed to ax.quiver().
- Returns
- lines: Line3DCollection
A collection of lines representing the plotted data.