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#

Animate Camera

Animate Camera

Axis-Angle Representation from Two Direction Vectors

Axis-Angle Representation from Two Direction Vectors

Camera Transform

Camera Transform

Concatenate Uncertain Transforms

Concatenate Uncertain Transforms

Plot with Respect to Different Reference Frames

Plot with Respect to Different Reference Frames

Plot Random Geometries

Plot Random Geometries

Spherical Grid

Spherical Grid

Plot Straight Line Paths

Plot Straight Line Paths

Plot Transformation

Plot Transformation