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.
269 Downloads
Updated 18 Jan 2013

View License

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 (2024). Axis context menu for toggling X/Y scale and limits (https://www.mathworks.com/matlabcentral/fileexchange/39907-axis-context-menu-for-toggling-x-y-scale-and-limits), MATLAB Central File Exchange. Retrieved .

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

Inspired by: Axis Context Menu

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0