GetLinkedAxes

Get all the axes-handles which are linked to the axis-handle.

You are now following this Submission

Get all the axes-handles which are linked to the axis-handle given as input; or, when omitted linked to the current_axis.

Example:
figure(1);
sh1 = subplot(211); plot(randn(1,100));
sh2 = subplot(212); plot(randn(1,100));
linkaxes([ sh1 sh2 ]); zoom on;
allaxes = GetLinkedAxes( sh1 );
disp( allaxes );

Cite As

Jan de Wilde (2026). GetLinkedAxes (https://se.mathworks.com/matlabcentral/fileexchange/41273-getlinkedaxes), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0