linkaxes
Synchronize limits of multiple axes
Description
linkaxes( synchronizes the limits of the
specified vector of axes. Synchronizing limits allows you to zoom or pan in one plot or
figure and display the same range of data in another plot or figure. When you first call the
ax)linkaxes function, it chooses new limits that incorporate the current
limits of all the specified axes.
Before R2026a: When you call the linkaxes
function, all links created by previous calls to the function are canceled. For example, if
you call linkaxes([ax1 ax2]) and then linkaxes([ax2
ax3]), the second call cancels the link between ax1 and
ax2.
Examples
Input Arguments
Version History
Introduced before R2006aSee Also
linkprop | linkdata | tiledlayout | nexttile







