Skip to content

pbaspect

plot · scripts/plot/appearance/pbaspect.m

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

Query or set the plot box aspect ratio, the relative lengths of the edges of the axes box.

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