subplots in App Designer.

146 Ansichten (letzte 30 Tage)
Pappu Murthy
Pappu Murthy am 28 Okt. 2018
Beantwortet: Vineeth Nair am 31 Okt. 2018
I am developing a GUI which has two Axes, UIAxes2, and UIAxes. UIAxes2 has single plot and it works fine. But UIAxes, should have 3x2 subplots and no matter what I do I can not get to populate UIAxes and instead the plots go on a separate figure. With Guide I was able to achieve this, by doing "axes(UIAxes)" and then do subplot(3,2,1) etc. But the same does not seem to work with App Designer as it gives error when I try "axes(UIAxes)". Please help. Thanks in advance.

Akzeptierte Antwort

Vineeth Nair
Vineeth Nair am 31 Okt. 2018
App designer supports most of the graphics but not all. Starting from MATLAB R2018b Subplots are supported. However, for implementation, additional code lines are required. You can read more about it here . However if you are using versions prior to R2018b then 'subplot' is not directly supported in App designer, as subplot creates axes and App designer uses UIaxes. However, there is a workaround mentioned here , you can try it out.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by