How does one disable the menu that appears when one hovers on a plot?
7 views (last 30 days)
Show older comments
Tahsin Emir Ersoy on 1 Nov 2022
Commented: Benjamin Kraus on 21 Mar 2023 at 19:59
How do we remove this thing?
I want nothing to appear / disappear when I am hovering on my plot if possible.
Benjamin Kraus on 1 Nov 2022
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.
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!