View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Axis context menu for toggling X/Y scale and limits

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.68 KB File ID: #39907 Version: 1.0
image thumbnail

Axis context menu for toggling X/Y scale and limits



Adds a special context menu to the axis that helps toggling the scale and limits of the axes.

| Watch this File

File Information

Adds scale (linear / log) and axis limit (auto / manual) toggling as a special contextmenu of the axis (not the regular uicontextmenu of the axes).



Important: This function relies on the uiaxiscontextmenu by Lior Cohen.
It can be downloaded from
Please make sure it is in the Matlab path or in your working directory


Axis Context Menu inspired this file.

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.
Comments and Ratings (1)
20 May 2014 Jonathan Mynard

I have been using this extremely useful code for setting axis properties via a context menu. However, I recently migrated from Windows to a Mac and for some reason, the X/Y axis context menus just doesn’t work anymore. I can set a context menu for an axes or line object manually and it works fine, but the YUIContextMenu and XUIContextMenu set by this code don’t seem to work. If you have any ideas for a solution, I would be most appreciative!

Comment only

Contact us