pytransform3d.plot_utils.make_3d_axis#

pytransform3d.plot_utils.make_3d_axis(ax_s, pos=111, unit=None, n_ticks=5)[source]#

Generate new 3D axis.

Parameters:
ax_sfloat, optional (default: 1)

Scaling of the new matplotlib 3d axis

posint, optional (default: 111)

Position indicator (nrows, ncols, plot_number)

unitstr, optional (default: None)

Unit of axes. For example, ‘m’, ‘cm’, ‘km’, … The unit will be shown in the axis label, for example, as ‘X [m]’.

n_ticksint, optional (default: 5)

Number of ticks on each axis

Returns:
axMatplotlib 3d axis

New axis

Examples using pytransform3d.plot_utils.make_3d_axis#

Plot Transformation

Plot Transformation

Axis-Angle Representation from Two Direction Vectors

Axis-Angle Representation from Two Direction Vectors

Spherical Grid

Spherical Grid

Plot with Respect to Different Reference Frames

Plot with Respect to Different Reference Frames

Camera Transform

Camera Transform

Plot Straight Line Paths

Plot Straight Line Paths

Plot Random Geometries

Plot Random Geometries

Concatenate Uncertain Transforms

Concatenate Uncertain Transforms