Hi, I want to plot 3 graphs in one figure, arranging them two on the left and one on the right.
With subplot, I managed to arrange them only in this way:
Thank you!

 채택된 답변

dpb
dpb 2021년 5월 1일

1 개 추천

There's an example of 2 on top and one on bottom that should have given the clue of how to bo about it...
hAx(1)=subplot(2,2,1);
hAx(2)=subplot(2,2,3);
hAx(3)=subplot(2,2,[2 4]);
results in axes as shown

댓글 수: 2

Adam Danz
Adam Danz 2021년 5월 2일
편집: Adam Danz 2021년 5월 3일
Or tiled layout
fig = figure();
tlo = tiledlayout(fig,2,2);
nexttile
nexttile([2,1])
nexttile
Elia Paini
Elia Paini 2021년 5월 2일
Thank you both!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2021년 5월 1일

편집:

2021년 5월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by