axesscale
Resize axes for equivalent scale
Description
axesscale
resizes all axes in the current figure
to have the same scale as the current axes (gca
). In this context, scale
means the relationship between axes x- and
y-coordinates and figure and paper coordinates. When
axesscale
is used, a unit of length in x and
y is printed and displayed at the same size in all the affected axes.
The XLimMode
and YLimMode
of the axes are set to
'manual'
to prevent autoscaling from changing the scale.
axesscale(hbase)
uses the axes
hbase
as the reference axes, and rescales the other axes in the current
figure.
axesscale(hbase,hother)
uses the axes
hbase
as the base axes, and rescales only the axes in
hother
.
Examples
Limitations
The equivalence of scales holds only as long as no commands are issued that can change the scale of one of the axes. For example, changing the units of the ellipsoid or the scale factor in one of the axes would change the scale.
Tips
To ensure the same map scale between axes, use the same ellipsoid and scale factors.
Version History
Introduced before R2006a