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, scale_vectors=None, show_origin=True, show_trace=True, show_vectors=True)#
Visualize a
weldx.transformations.LocalCoordinateSystem
using matplotlib.- Parameters
lcs (
LocalCoordinateSystem
) – The coordinate system that should be visualizedaxes (
Optional
[Axes
]) – The target matplotlib axes. IfNone
is provided, a new one will be createdcolor (
Optional
[Any
]) – An arbitrary color. The data type must be compatible with matplotlib.time (
Union
[DatetimeIndex
,TimedeltaIndex
,List
[Timestamp
],None
]) – The time steps that should be plottedtime_ref (
Optional
[Timestamp
]) – A reference timestamp that can be provided if thetime
parameter is apandas.TimedeltaIndex
time_index (
Optional
[int
]) – Index of a specific time step that should be plottedscale_vectors (
Union
[float
,list
,ndarray
,None
]) – A scaling factor or array to adjust the vector lengthshow_origin (
bool
) – IfTrue
, the origin of the coordinate system will be highlighted in the color passed as another parametershow_trace (
bool
) – IfTrue
, the trace of a time dependent coordinate system will be visualized in the color passed as another parametershow_vectors (
bool
) – IfTrue
, the the coordinate axes of the coordinate system are visualized
- Returns
The axes object that was used as canvas for the plot.
- Return type