필터 지우기
필터 지우기

Cannot hide/delete UIAxes menu/toolbar

조회 수: 17 (최근 30일)
endystrike
endystrike 2020년 2월 27일
댓글: endystrike 2020년 2월 27일
Hello everyone,
I've tried disabling common commands on UIAxes but they still persist.
I'm using App Designer and the chart mustn't be in a figure.
What am I doing wrong?
Thanks
hold(app.UI_Axes,'on');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 2, 3, 4],'k');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 2.5, 4.5, 6],'b');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 4, 6, 8],'r');
disableDefaultInteractivity(app.UI_Axes);
hold(app.UI_Axes,'on');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 2, 3, 4],'k');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 2.5, 4.5, 6],'b');
plot(app.UI_Axes,[1, 2, 3, 4],[1, 4, 6, 8],'r');
app.UI_Axes.Interactions = [];

채택된 답변

Adam Danz
Adam Danz 2020년 2월 27일
편집: Adam Danz 2020년 2월 27일
app.UI_Axes.Toolbar.Visible = 'off';

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by