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

How do we remove this thing?
I want nothing to appear / disappear when I am hovering on my plot if possible.

답변 (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

does not work. Executed the command, figures still appear after I hover over them.
@FCKOU What release of MATLAB are you using?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

제품

릴리스

R2022b

태그

질문:

2022년 11월 1일

댓글:

2023년 3월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by