weldx.visualization.matplotlib_impl.plot_local_coordinate_system_matplotlib¶
-
weldx.visualization.matplotlib_impl.
plot_local_coordinate_system_matplotlib
(lcs, axes=None, color=None, label=None, time=None, time_ref=None, time_index=None, show_origin=True, show_trace=True, show_vectors=True)¶ Visualize a
weldx.transformations.LocalCoordinateSystem
using matplotlib.- Parameters
lcs (weldx.transformations.LocalCoordinateSystem) – The coordinate system that should be visualized
axes (matplotlib.axes.Axes) – The target matplotlib axes. If
None
is provided, a new one will be createdcolor (Any) – An arbitrary color. The data type must be compatible with matplotlib.
label (str) – Name of the coordinate system
time (pandas.DatetimeIndex, pandas.TimedeltaIndex, List[pandas.Timestamp], or LocalCoordinateSystem) – The time steps that should be plotted
time_ref (pandas.Timestamp) – A reference timestamp that can be provided if the
time
parameter is apandas.TimedeltaIndex
time_index (int) – Index of a specific time step that should be plotted
show_origin (bool) – If
True
, the origin of the coordinate system will be highlighted in the color passed as another parametershow_trace – If
True
, the trace of a time dependent coordinate system will be visualized in the color passed as another parametershow_vectors (bool) – If
True
, the the coordinate axes of the coordinate system are visualized
- Returns
The axes object that was used as canvas for the plot
- Return type