pytransform3d.transformations.plot_transform#

pytransform3d.transformations.plot_transform(ax=None, A2B=None, s=1.0, ax_s=1, name=None, strict_check=True, **kwargs)[source]#

Plot transform.

Parameters:
axMatplotlib 3d axis, optional (default: None)

If the axis is None, a new 3d axis will be created

A2Barray-like, shape (4, 4), optional (default: I)

Transform from frame A to frame B

sfloat, optional (default: 1)

Scaling of the axis and angle that will be drawn

ax_sfloat, optional (default: 1)

Scaling of the new matplotlib 3d axis

namestring, optional (default: None)

Name of the frame, will be used for annotation

strict_checkbool, optional (default: True)

Raise a ValueError if the transformation matrix is not numerically close enough to a real transformation matrix. Otherwise we print a warning.

kwargsdict, optional (default: {})

Additional arguments for the plotting functions, e.g. alpha

Returns:
axMatplotlib 3d axis

New or old axis

Examples using pytransform3d.transformations.plot_transform#

Plot Box

Plot Box

Camera Representation in 3D

Camera Representation in 3D

Camera Projection

Camera Projection

Camera Trajectory

Camera Trajectory

Camera Transform

Camera Transform

Plot Transformed Cylinders

Plot Transformed Cylinders

Dual Quaternion Interpolation

Dual Quaternion Interpolation

Plot Mesh

Plot Mesh

Plot Random Geometries

Plot Random Geometries

Rotate Cylinder

Rotate Cylinder

Sample Transforms

Sample Transforms

Plot Transformation through Screw Motion

Plot Transformation through Screw Motion

Plot Sphere

Plot Sphere

Plot Transformation

Plot Transformation

Transform Concatenation

Transform Concatenation