Effacer les filtres
Effacer les filtres

Organizing plots in a publish html document

3 vues (au cours des 30 derniers jours)
Hail
Hail le 1 Juil 2014
Commenté : Hail le 1 Juil 2014
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 commentaires
Cedric
Cedric le 1 Juil 2014
Modifié(e) : Cedric le 1 Juil 2014
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 le 1 Juil 2014
Fantastic. Thanks

Connectez-vous pour commenter.

Réponse acceptée

Chad Greene
Chad Greene le 1 Juil 2014
A quick and dirty solution would plot a single figure with 21 subplots.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by