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 system

  • axes (Axes) – Target matplotlib axes object

  • color (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 length

  • show_origin (bool) – If True, the origin of the coordinate system will be highlighted in the color passed as another parameter

  • show_vectors (bool) – If True, the the coordinate axes of the coordinate system are visualized