How does one disable the menu that appears when one hovers on a plot?

13 ビュー (過去 30 日間)
Tahsin Emir Ersoy
Tahsin Emir Ersoy 2022 年 11 月 1 日
コメント済み: Benjamin Kraus 2023 年 3 月 21 日
How do we remove this thing?
I want nothing to appear / disappear when I am hovering on my plot if possible.

回答 (1 件)

Benjamin Kraus
Benjamin Kraus 2022 年 11 月 1 日
You can set the Toolbar property on the axes when you create it.
ax = axes;
ax.Toolbar = [];
If you want that to be the default, you can add something like this to your startup.m.
set(groot,'DefaultAxesToolbarVisible',false);
  2 件のコメント
FCKOU
FCKOU 2023 年 3 月 21 日
does not work. Executed the command, figures still appear after I hover over them.
Benjamin Kraus
Benjamin Kraus 2023 年 3 月 21 日
@FCKOU What release of MATLAB are you using?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by