Azzera filtri
Azzera filtri

How to subplot 3 graphs in 1 figure?

115 visualizzazioni (ultimi 30 giorni)
Is it possible to subplot 3 graphs in this particular order?

Risposta accettata

Alex Mcaulley
Alex Mcaulley il 1 Lug 2019
Take a look to subplot

Più risposte (2)

Madan G
Madan G il 27 Mar 2022
subplot(2,2,1)
subplot(2,2,2)
subplot(2,1,3)

Raksa san
Raksa san il 12 Mag 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')

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by