Axis context menu for toggling X/Y scale and limits
Adds scale (linear / log) and axis limit (auto / manual) toggling as a special contextmenu of the axis (not the regular uicontextmenu of the axes).
toggleAxisContextMenu()
toggleAxisContextMenu(hAxes)
example:
toggleAxisContextMenu(gca);
Important: This function relies on the uiaxiscontextmenu by Lior Cohen.
It can be downloaded from http://bit.ly/WLTS9E
Please make sure it is in the Matlab path or in your working directory
Cite As
Lior Cohen (2026). Axis context menu for toggling X/Y scale and limits (https://uk.mathworks.com/matlabcentral/fileexchange/39907-axis-context-menu-for-toggling-x-y-scale-and-limits), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Axis Context Menu
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
