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

9 次查看(过去 30 天)
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);

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by