You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Axis Context Menu (https://in.mathworks.com/matlabcentral/fileexchange/39816-axis-context-menu), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Axis context menu for toggling X/Y scale and limits
General Information
- Version 1.0.0.0 (3.45 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
