How to draw multiple plots in one plot in Matlab??

1 次查看(过去 30 天)
I have some ellipses and curves to plot on same graph. How to do it? Please help

回答(2 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2018-9-8
编辑:KALYAN ACHARJYA 2018-9-8
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 个评论
KALYAN ACHARJYA
KALYAN ACHARJYA 2018-9-8
编辑:KALYAN ACHARJYA 2018-9-8
Can you share the code? So that I can try on it. Please, note on scaling range of variables and result.

请先登录,再进行评论。


Image Analyst
Image Analyst 2018-9-8
See attached demo.

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by