Code covered by the BSD License  

Highlights from
Axis Context Menu

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.45 KB File ID: #39816
image thumbnail

Axis Context Menu

by

 

Adds a uicontextmenu to x and/or y axis of an axes. The regular axes uicontextmenu stays intact.

| Watch this File

File Information
Description

uiaxiscontextmenu adds special contextmenu to X & Y axis of an axes.

uiaxiscontextmenu() adds two properties to an axes (gca in default):
"XUIContextMenu" and "YUIContextMenu".
After this, these properties can be set to a regular uicontextmenu that
will be shown when the mouse is on one of the axis and right clicked.

uiaxiscontextmenu('remove') removes the axis contextmenu from gca.
uiaxiscontextmenu(hAxes, ...)is the same but for the explicitly axes
"hAxes". hAxes can be scalar or vector of axes numeric handles.

Acknowledgements

This file inspired Axis Context Menu For Toggling X/Y Scale And Limits.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us