image thumbnail

glinkaxes: interactive linkaxes

version 1.1.0.0 (3.38 KB) by Kesh Ikuma
GLINKAXES lets user, via mouse clicks, to choose the axes to synchronize their axis limits.

380 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!