How to disable dynamic menu items from axes

4 views (last 30 days)
This question is difficult to look up the answer to because I don't know the name of this visual feature of an axes. It pops up dynamically as the cursor passes over it. Sometimes it interferes with nearby uicontrols etc., and I'd like to be able to disable it sometimes.

Accepted Answer

Srivardhan Gadila
Srivardhan Gadila on 22 Mar 2021
Refer to the documentation of Control Chart Interactivity and set the Visible property of the AxesToolbar object to 'off'
ax = gca;
ax.Toolbar.Visible = 'off';

More Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!