Axis Context Menu

Adds a uicontextmenu to x and/or y axis of an axes. The regular axes uicontextmenu stays intact.

Ahora está siguiendo esta publicación

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.

Citar como

Lior Cohen (2026). Axis Context Menu (https://es.mathworks.com/matlabcentral/fileexchange/39816-axis-context-menu), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspiración para: Axis context menu for toggling X/Y scale and limits

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0