glinkaxes: interactive linkaxes

GLINKAXES lets user, via mouse clicks, to choose the axes to synchronize their axis limits.
381 Downloads
Updated 14 Apr 2011

View License

GLINKAXES is a wrapper function for the built-in LINKAXES function. Prior to calling LINKAXES function, GLINKAXES accepts user mouse clicks to select axes to synchronize.

There are 4 possible ways to call this function:

GLINKAXES or GLINKAXES(OPTION) to choose as many axes as desired (terminate selection by pressing ENTER key with the focus on a figure window).

GLINKAXES(N) or GLINKAXES(N,OPTION) to choose (up to) N axes. Press ENTER key for less than N.

OPTION argument is directly passed to LINKAXES and must be one of 'x','y','xy',or 'none'.

This function works on Matlab R2008a or later. (It uses a OnCleanup function which is introduced in R2008a.)

Revision:
Rev.1 (4/14/11) - GLINKAXES(OPTION) calling option parsing bug fix

Cite As

Kesh Ikuma (2024). glinkaxes: interactive linkaxes (https://www.mathworks.com/matlabcentral/fileexchange/30850-glinkaxes-interactive-linkaxes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Visual Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

GLINKAXES(OPTION) parsing bug fix

1.0.0.0