Putting together matlab plots into one

1 vue (au cours des 30 derniers jours)
Ede gerlderlands
Ede gerlderlands le 22 Juil 2013
Dear All
I have 8 separae matlab plots. Is there a way to put them into one matab figure of such as 2x4? I tried to use subplot but can't really figure it out. Help me

Réponses (1)

David Sanchez
David Sanchez le 22 Juil 2013
the first 2 indexes in subplot are the number of row and column plots in your figure.
subplot(2,4,1)
% your plot comomand here
subplot(2,4,2)
% your escond plot command here
subplot(2,4,3)
% and go on....
...
subplot(2,4,8)
% your last plot command here
  1 commentaire
Ede gerlderlands
Ede gerlderlands le 22 Juil 2013
Modifié(e) : Ede gerlderlands le 22 Juil 2013
Thanks. I used this but my plot is actually plotxx and it doesn't receive these subplots.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by