FUNCTION REFERENCE

pbaspect

Query or set the axes plot box aspect ratio.

Query or set the axes plot box aspect ratio.

Syntax

r = pbaspect

Syntax

pbaspect([px py pz])

Syntax

pbaspect('auto')

Syntax

pbaspect('manual')

Syntax

m = pbaspect('mode')

Controls the relative lengths of the x, y, and z axes of the plot box on the current or specified axes. Setting `[1 1 1]` enforces a square plot box like `axis square`.

Example

plot([0 1], [0 2]); pbaspect([2 1 1]); pbaspect   % [2 1 1]

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.