How to disable dynamic menu items from axes

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

采纳的回答

Srivardhan Gadila
Srivardhan Gadila 2021-3-22
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';

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by