How can i create these three images in one figure?
2 views (last 30 days)
Show older comments
How can i create these three images in one figure ?
2 Comments
Scott MacKenzie
on 27 Apr 2021
Use subplot (or tiledlayout since R2019b) to combine multiple plots into a single figure.
Answers (1)
Chad Greene
on 27 Apr 2021
If you're question is about how to make subplots, here's how.
figure
subplot(3,1,1)
plot(sind(1:1e4))
subplot(3,1,2)
plot(rand(1000,1))
subplot(3,1,3)
plot(sind(1:1e4).*cosd(3*(1:1e4)))
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!