tightPosition
Description
returns the position of the rectangle that circumscribes the plotting area of the axes
pos
= tightPosition(ax
)ax
. The result is a four-element vector of the form [left
bottom width height]
that describes the position and size of the rectangle in
the units specified in the Units
property of the axes object. By default,
the units are normalized values between 0
and
1
.
returns the position of the rectangle based on the settings of one or more name-value
arguments. For example, pos
= tightPosition(ax
,Name=Value
)tightPosition(ax,IncludeLabels=true)
returns the
position of the rectangle that surrounds the title, subtitle, tick labels, and axis labels
of ax
.