Subplot UIAxes app designer
31 次查看(过去 30 天)
显示 更早的评论
app.UIFigure.AutoResizeChildren = 'off';
ax1 = subplot(1,2,1,'Parent',app.UIFigure);
ax2 = subplot(1,2,2,'Parent',app.UIFigure);
plot(ax1,[1 2 3 4])
plot(ax2,[10 9 4 7])
The problem is that I want to plot it in an axes component, not in a figure. Even if a try to this with i get an error like this:
No appropriate method, property, or field 'UIFigure' for class 'ts_proj'
What can I do?
1 个评论
Adam Danz
2020-12-27
subplot() is supported in App Designer r2018b and later.
Documentation for r2018a and prior indicates its lack of suppor in app designer.
回答(1 个)
Sara Naranjo
2019-6-2
Hello Eduardo, can yo solve this?? i`m having the same problem.
Thanks
Sara!
2 个评论
Wu Zhu
2020-4-13
There are a lot of issues about Matlab updates on App designer. I acutally get away about this issue by plotting in a panel.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!