rigid_body_motion.plot.points

rigid_body_motion.plot.points(arr, ax=None, figsize=(6, 6), fmt='', **kwargs)

Plot an array of 3D points.

Parameters
arr: array_like, shape (3,) or (N, 3)

Array of 3D points to plot.

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.

fmt: str, optional

A format string, e.g. ‘ro’ for red circles.

kwargs:

Additional keyword arguments passed to ax.plot().

Returns
lines: list of Line3D

A list of lines representing the plotted data.