How to draw multiple plots in one plot in Matlab??
Show older comments
I have some ellipses and curves to plot on same graph. How to do it? Please help
Answers (2)
KALYAN ACHARJYA
on 8 Sep 2018
Edited: KALYAN ACHARJYA
on 8 Sep 2018
Plot(1);
hold on;
plot(2);
.....
plot(n)
hold off;
Another way, if all having the same x scale, you can do the following also
plot(x,y1,x,y2,x,y3....)
2 Comments
sangita kamat
on 8 Sep 2018
KALYAN ACHARJYA
on 8 Sep 2018
Edited: KALYAN ACHARJYA
on 8 Sep 2018
Can you share the code? So that I can try on it. Please, note on scaling range of variables and result.
Image Analyst
on 8 Sep 2018
0 votes
See attached demo.
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!