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

Generate new 3D axis.

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

axMatplotlib 3d axis

New axis