weldx.LocalCoordinateSystem.plot#
- LocalCoordinateSystem.plot(axes=None, color=None, label=None, time=None, time_ref=None, time_index=None, scale_vectors=None, show_origin=True, show_trace=True, show_vectors=True)#
Plot the coordinate system.
- Parameters:
axes (matplotlib.axes.Axes) – The target matplotlib axes object that should be drawn to. If
None
is provided, a new one will be created.color (str) – The color of the coordinate system. The string must be a valid matplotlib color format. See: https://matplotlib.org/3.1.0/api/colors_api.html#module-matplotlib.colors
label (str) – The name of the coordinate system
time (pandas.DatetimeIndex, pandas.TimedeltaIndex, List[pandas.Timestamp], or LocalCoordinateSystem) – The time steps that should be plotted. Missing time steps in the data will be interpolated.
time_ref (pandas.Timestamp) – A reference timestamp that can be provided if the
time
parameter is apandas.TimedeltaIndex
time_index (int) – If the coordinate system is time dependent, this parameter can be used to to select a specific key frame by its index.
scale_vectors (
Union
[float
,list
,ndarray
,None
]) – A scaling factor or array to adjust the vector lengthshow_origin (bool) – If
True
, a small dot with the assigned color will mark the coordinate systems’ origin.show_trace (bool) – If
True
, the trace of time dependent coordinate systems is plotted.show_vectors (bool) – If
True
, the coordinate cross of time dependent coordinate systems is plotted.