How to subplot 3 graphs in 1 figure?
155 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Notname Notname
le 1 Juil 2019
Réponse apportée : Raksa san
le 12 Mai 2022
Is it possible to subplot 3 graphs in this particular order?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/227042/image.jpeg)
0 commentaires
Réponse acceptée
Plus de réponses (2)
Raksa san
le 12 Mai 2022
we use
subplot(2,2,1)
subplot(2,2,2)
subplot(2,2,[3 4])
Example
t = linspace(0,10,110);
figure
subplot(2,2,1)
s1 = 1 - exp(-t);
plot(t,s1,'b*')
subplot(2,2,2)
s2 = 1 - exp(-2*t);
plot(t,s2,'ro')
subplot(2,2,[3 4])
s3 = 1 - exp(-4*t);
plot(t,s3,'gx')
0 commentaires
Voir également
Catégories
En savoir plus sur Subplots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!