Cannot hide/delete UIAxes menu/toolbar

9 ビュー (過去 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';
  1 件のコメント
endystrike
endystrike 2020 年 2 月 27 日
Thank you very much Adam! :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by