Skip to content

daspect

plot · scripts/plot/appearance/daspect.m

: r = daspect ()
: daspect (r)
: daspect ("auto")
: daspect ("manual")
: m = daspect ("mode")
: daspect (ax, …)

Query or set the data aspect ratio, the relative unit lengths of the x, y and z data axes.

A vector of two or three positive finite values sets the ratio (a missing third element is 1) and the mode becomes "manual".