How to subplot 3 graphs in 1 figure?
210 次查看(过去 30 天)
显示 更早的评论
Is it possible to subplot 3 graphs in this particular order?
0 个评论
采纳的回答
更多回答(2 个)
Raksa san
2022-5-12
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!