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, show_origin=True, show_vectors=True)¶ Draw a coordinate system in a matplotlib 3d plot.
- Parameters
coordinate_system (weldx.transformations.LocalCoordinateSystem) – Coordinate system
axes (matplotlib.axes.Axes) – Target matplotlib axes object
color (Any) – Valid matplotlib color selection. The origin of the coordinate system will be marked with this color.
label (str) – Name that appears in the legend. Only viable if a color was specified.
time_idx (int) – Selects time dependent data by index if the coordinate system has a time dependency.
show_origin (bool) – If
True
, the origin of the coordinate system will be highlighted in the color passed as another parametershow_vectors (bool) – If
True
, the the coordinate axes of the coordinate system are visualized