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 Transformation

Plot Transformation

Plot Transformation
Plot Sphere

Plot Sphere

Plot Sphere
Sample Transforms

Sample Transforms

Sample Transforms
Transform Concatenation

Transform Concatenation

Transform Concatenation
Plot Mesh

Plot Mesh

Plot Mesh
Camera Representation in 3D

Camera Representation in 3D

Camera Representation in 3D
Plot Transformed Cylinders

Plot Transformed Cylinders

Plot Transformed Cylinders
Plot Box

Plot Box

Plot Box
Plot Transformation through Screw Motion

Plot Transformation through Screw Motion

Plot Transformation through Screw Motion
Camera Projection

Camera Projection

Camera Projection
Rotate Cylinder

Rotate Cylinder

Rotate Cylinder
Camera Transform

Camera Transform

Camera Transform
Camera Trajectory

Camera Trajectory

Camera Trajectory
Plot Random Geometries

Plot Random Geometries

Plot Random Geometries
Dual Quaternion Interpolation

Dual Quaternion Interpolation

Dual Quaternion Interpolation