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 CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by