Subplot UIAxes app designer

10 ビュー (過去 30 日間)
Eduardo Santos
Eduardo Santos 2019 年 5 月 10 日
コメント済み: Adam Danz 2020 年 12 月 27 日
I saw the same question here but id doesn`t work (matlab documentation)
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
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
Sara Naranjo 2019 年 6 月 2 日
Hello Eduardo, can yo solve this?? i`m having the same problem.
Thanks
Sara!
  2 件のコメント
Eduardo Santos
Eduardo Santos 2019 年 6 月 3 日
Hi Sara, not yet.
Wu Zhu
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 ExchangeSubplots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by