redraw with new boundaries the current or a given set of axes
replot() replot(area) replot(idAxes) replot(area, idAxes) replot(.., tight_limits)
row vector [xmin ymin xmax ymax] or [xmin ymin zmin xmax ymax zmax]: new bounds of the area to be replotted.
The default area is [%inf %inf %inf %inf] for a 2D axes, or [%inf %inf %inf %inf %inf %inf] for a 3D one.
%nancan be used to keep a bound as is.
%infcan be used to set a bound to the position of the most marginal graphical component existing in the axes, for the considered direction.
If N axes are identified in
areamay be a matrix with N rows and 4 or 6 columns. The row #i is then related to the axes #i of
areais only a vector of 4 or 6 bounds, these ones are used for all axes to be reframed.
Vector of graphic handles, expected to be of Axes type or to have direct children of type Axes, such as Figures or some frame uicontrols.
idAxesspecifies direct or children Axes to crop. If no axes is found, nothing is done.
By default, the current Axes is considered.
"off", or vector of 2 (in 2D) or 3 (in 3D) words
"off". If a single word is provided, it is used for every axis. This option forces the
.tight_limitsattribute of considered axes to the specified
"off"values. By default, current limits modes are unchanged.
replot is used to reframe the (set of) axes specified
idAxes -- or by default the current axes --
with new boundaries defined by
area = [xmin,ymin, xmax,ymax] or
area = [xmin,ymin,zmin, xmax,ymax,zmax].
It changes the
data_bounds attribute of processed axes.
When a specified bound is infinite (%inf and -%inf are equivalent),
replot looks for the most marginal graphical object
and sets the actual related bound to its position, taking also
objects sizes into account. This ensures not clipping any object
that would be beyond the targeted side of the axes.
tight_limits option is provided,
its value is assigned to the
attribute of each considered axes, in an axis-wise way.