Hi! I want to plot this figure -
As you can see, the first plot is taking the 3 columns. And the last 6 plots are taking one columns only. Can anyone please tell me how can I write down tha code to plot this figure?

 채택된 답변

Image Analyst
Image Analyst 2022년 8월 26일

0 개 추천

subplot(3, 3, 1:3);
plot(rand(1, 10), '.-');
subplot(3, 3, 4);
plot(rand(1, 10), '.-');
subplot(3, 3, 5);
plot(rand(1, 10), '.-');
subplot(3, 3, 6);
plot(rand(1, 10), '.-');
subplot(3, 3, 7);
plot(rand(1, 10), '.-');
subplot(3, 3, 8);
plot(rand(1, 10), '.-');
subplot(3, 3, 9);
plot(rand(1, 10), '.-');

댓글 수: 3

Hirithar
Hirithar 2024년 4월 9일
Is that applicable when vertically merging subplots? I tried it, but it was not working. Need help!
Yes, it is applicable when merging vertically.
subplot(3, 3, [1,4,7]);
plot(rand(1, 10), '.-');
subplot(3, 3, 2);
plot(rand(1, 10), '.-');
subplot(3, 3, 5);
plot(rand(1, 10), '.-');
subplot(3, 3, 6);
plot(rand(1, 10), '.-');
subplot(3, 3, 3);
plot(rand(1, 10), '.-');
subplot(3, 3, 8);
plot(rand(1, 10), '.-');
subplot(3, 3, 9);
plot(rand(1, 10), '.-');
Hirithar
Hirithar 2024년 4월 11일
Thank you. It's working

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

추가 답변 (0개)

카테고리

질문:

2022년 8월 26일

댓글:

2024년 4월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by