pbaspect
Get or set the plot box aspect ratio.
Syntax
Section titled “Syntax”v = pbaspectpbaspect([rx ry rz])pbaspect('auto')Description
Section titled “Description”Controls the aspect ratio of the 3D plot box (independent of data ranges). Default is auto. Set explicit ratios to enforce a specific shape (e.g. [1 1 1] for a cube, [2 1 0.5] for non-cubic).
Example
Section titled “Example”pbaspect([1 1 1])