FUNCTION REFERENCE

daspect

Query or set the axes data aspect ratio.

Query or set the axes data aspect ratio.

Syntax

r = daspect

Syntax

daspect([dx dy dz])

Syntax

daspect('auto')

Syntax

daspect('manual')

Syntax

m = daspect('mode')

Controls the relative scaling of the x, y, and z axes on the current or specified axes. Setting `[1 1 1]` enforces equal data units like `axis equal`.

Example

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

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