Figure with 17x17 subplot

조회 수: 1 (최근 30일)
Turing Machine
Turing Machine 2021년 9월 30일
편집: Turing Machine 2021년 10월 6일
I need to make a big figure that contains 17x17 subplots. My question is how do I make this such that the plots although obviously small, are readable. Particularly in trying it, and plotting only the first row I get:
Which has two problems: 1) Titles cross with axis numbers. 2) There's plenty of space in the sides and top that is not used. Then, how could I fix this such that a 17x17 plots are a readable?
My code with only the first row and first 3 titles:
subplot(17,17,1)
plot(x1,y1)
title("Plot 1")
subplot(17,17,2)
plot(x1,y1)
title("Plot 2")
subplot(17,17,3)
plot(x1,y1)
title("Plot 3")
subplot(17,17,4)
plot(x1,y1)
subplot(17,17,5)
plot(x1,y1)
subplot(17,17,6)
plot(x1,y1)
subplot(17,17,7)
plot(x1,y1)
subplot(17,17,8)
plot(x1,y1)
subplot(17,17,9)
plot(x1,y1)
subplot(17,17,10)
plot(x1,y1)
subplot(17,17,11)
plot(x1,y1)
subplot(17,17,12)
plot(x1,y1)
subplot(17,17,13)
plot(x1,y1)
subplot(17,17,14)
plot(x1,y1)
subplot(17,17,15)
plot(x1,y1)
subplot(17,17,16)
plot(x1,y1)
subplot(17,17,17)
plot(x1,y1)

채택된 답변

Simon Chan
Simon Chan 2021년 9월 30일
Another option is use function tiledlayout
tiledlayout(17,17,'TileSpacing','none','Padding','none');
nexttile
  댓글 수: 1
Turing Machine
Turing Machine 2021년 10월 6일
편집: Turing Machine 2021년 10월 6일
It works. Thanks!

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

추가 답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 9월 30일
Here are a couple of 3rd party codes posted in MATHWORKS that can be used to get a better view of subplot figures by tightening the spaces between plot figures
  댓글 수: 1
Turing Machine
Turing Machine 2021년 10월 6일
Thanks for your answer!

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

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by