Axis Context Menu
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.
Cite As
Lior Cohen (2024). Axis Context Menu (https://www.mathworks.com/matlabcentral/fileexchange/39816-axis-context-menu), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Axis context menu for toggling X/Y scale and limits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |