Subplot arrangement: 6 by 2 plot

조회 수: 69 (최근 30일)
Luca de Freitas
Luca de Freitas 2021년 8월 23일
댓글: Luca de Freitas 2021년 8월 23일
Hi all,
I am strugling to create a plot with 6 subplots in the first column and 1 subplot in the second column.
The arragement would look as drawn below:
Thank you for the help!
Best,

채택된 답변

Simon Chan
Simon Chan 2021년 8월 23일
Try this:
figure(1)
subplot(6,2,1)
plot(1:10,randi(10,1,10))
hold on
subplot(6,2,3)
plot(1:10,randi(10,1,10))
subplot(6,2,5)
plot(1:10,randi(10,1,10))
subplot(6,2,7)
plot(1:10,randi(10,1,10))
subplot(6,2,9)
plot(1:10,randi(10,1,10))
subplot(6,2,11)
plot(1:10,randi(10,1,10))
subplot(6,2,2:2:12) % <-----
plot(1:10,randi(10,1,10))

추가 답변 (0개)

카테고리

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