Organizing plots in a publish html document

1 回表示 (過去 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 Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by