Organizing plots in a publish html document

조회 수: 2 (최근 30일)
Hail
Hail 2014년 7월 1일
댓글: Hail 2014년 7월 1일
I have this script that will generate 21 plots. I want to publish my script into a html file. I also would like to have these plots be organized into 3 columns and 7 rows. My script generates the plots in order left to right. Anyone know if this is possible with MATLAB?
Thanks
  댓글 수: 8
Cedric
Cedric 2014년 7월 1일
편집: Cedric 2014년 7월 1일
Yes, the subplot ID should be your loop index, e.g.
for k = 1 : 21
subplot( 7, 3, k ) ;
x = ... ;
y = ... ;
plot( .. ) ;
grid on ;
xlabel( ... ) ;
ylabel( ... ) ;
title( ... ) ;
end
Hail
Hail 2014년 7월 1일
Fantastic. Thanks

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

채택된 답변

Chad Greene
Chad Greene 2014년 7월 1일
A quick and dirty solution would plot a single figure with 21 subplots.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by