Azzera filtri
Azzera filtri

Subplot UIAxes app designer

31 visualizzazioni (ultimi 30 giorni)
Eduardo Santos
Eduardo Santos il 10 Mag 2019
Commentato: Adam Danz il 27 Dic 2020
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 Commento
Adam Danz
Adam Danz il 27 Dic 2020
subplot() is supported in App Designer r2018b and later.
Documentation for r2018a and prior indicates its lack of suppor in app designer.

Accedi per commentare.

Risposte (1)

Sara Naranjo
Sara Naranjo il 2 Giu 2019
Hello Eduardo, can yo solve this?? i`m having the same problem.
Thanks
Sara!
  2 Commenti
Eduardo Santos
Eduardo Santos il 3 Giu 2019
Hi Sara, not yet.
Wu Zhu
Wu Zhu il 13 Apr 2020
There are a lot of issues about Matlab updates on App designer. I acutally get away about this issue by plotting in a panel.

Accedi per commentare.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by