Cannot hide/delete UIAxes menu/toolbar
5 次查看(过去 30 天)
显示 更早的评论
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 = [];
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!