weldx.visualization.matplotlib_impl.draw_coordinate_system_matplotlib#
- weldx.visualization.matplotlib_impl.draw_coordinate_system_matplotlib(coordinate_system, axes, color=None, label=None, time_idx=None, scale_vectors=None, show_origin=True, show_vectors=True)#
Draw a coordinate system in a matplotlib 3d plot.
- Parameters
coordinate_system (
LocalCoordinateSystem
) – Coordinate systemaxes (
Axes
) – Target matplotlib axes objectcolor (
Optional
[Any
]) – Valid matplotlib color selection. The origin of the coordinate system will be marked with this color.label (
Optional
[str
]) – Name that appears in the legend. Only viable if a color was specified.time_idx (
Optional
[int
]) – Selects time dependent data by index if the coordinate system has a time dependency.scale_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_vectors (
bool
) – IfTrue
, the the coordinate axes of the coordinate system are visualized