MATLAB Answers

How to disable dynamic menu items from axes

조회 수: 10(최근 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 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';

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by