Control relative lengths of each axis

`pbaspect(`

sets
the plot box aspect ratio for the current axes. The plot box aspect
ratio is the relative length of the `ratio`

)*x*-axis, *y*-axis,
and *z*-axis. Specify `ratio`

as
a three-element vector of positive values that represent the ratio
of the *x*-axis, *y*-axis, and *z*-axis
lengths. For example, `[3 1 1]`

specifies that the
length of the *x*-axis is equal to three times
the length of the *y*-axis and *z*-axis.
For equal axis lengths in all directions, use `[1 1 1]`

.

`pbaspect auto`

sets an automatic mode, enabling the axes to choose the
appropriate plot box aspect ratio. The mode must be automatic to enable the
“stretch-to-fill” feature of the axes.

`pbaspect manual`

sets a manual mode and uses the ratio stored in the
`PlotBoxAspectRatio`

property of the `Axes`

object. When the mode is manual, it disables
the stretch-to-fill feature of the axes. Specifying a value for the plot box
aspect ratio sets the mode to manual.

The `pbaspect`

function sets and queries several
axes properties related to the data aspect ratio.

`PlotBoxAspectRatio`

— Property that stores the plot box aspect ratio value.`PlotBoxAspectRatioMode`

— Property that stores the plot box aspect ratio mode. When you set the ratio, this property changes to`'manual'`

.