필터 지우기
필터 지우기

Resizing plots in tiledlayout()

조회 수: 20 (최근 30일)
Richard Miller
Richard Miller 2021년 8월 20일
답변: Chunru 2021년 8월 20일
I need to plot two figures and I was using tiledlayout(2,1), but I want the top figure to take up about 1/3rd of the vertical space and the bottom plot to take up about 2/3rds of the vertical space. I've tried using uipanel but I can't seem to get it to work out right.

채택된 답변

Chunru
Chunru 2021년 8월 20일
tiledlayout(3,1);
nexttile;
plot(rand(10,1))
nexttile([2 1]) % span 2 rows and 1 colum in the tiledlayout
plot(rand(20,1))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by