Axis Context Menu

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

現在この提出コンテンツをフォロー中です。

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.

引用

Lior Cohen (2026). Axis Context Menu (https://jp.mathworks.com/matlabcentral/fileexchange/39816-axis-context-menu), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Axis context menu for toggling X/Y scale and limits

カテゴリ

Help Center および MATLAB AnswersInteractive Control and Callbacks についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0