How to make subplot in appdesigner?

Hello everyone.
I'm triyng to create a subplot in the app designer. I found online some question related to this problem but not yet any solution.
In this link https://it.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html there is a solution but the subplot is created in the whole UIFigure. In my app i have a plot region where i would like to plot, during different steps of my processing, a single plot and 2 subplots. A possible solution could be to create a UIFigure inside my app in that region? If it is possible could someone say me how to do that.
I hope the question it is clear.
Thank you in advance for the reply.

3 件のコメント

Mohammad Sami
Mohammad Sami 2020 年 1 月 23 日
Instead of axes, put in a uipanel. You can then either use tiledlayout (R2019b) or subplot in the uipanel. Instead of figure, the parent would be the uipanel.
Davide Mastrodicasa
Davide Mastrodicasa 2020 年 1 月 24 日
Thank you very much! I solved the problem following your suggestions.
AdiKaba
AdiKaba 2020 年 7 月 23 日
Thank you, Mohammad.
That was helpful. UIPlane provides much more flexibility where you can control position of the subplots.

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

回答 (0 件)

製品

リリース

R2019a

質問済み:

2020 年 1 月 21 日

コメント済み:

2020 年 7 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by