x=0:0.1:10;
y1=3*x+2;
figure(1)
plot(x,y1)
hold on
y2=x-5;
figure(2)
plot(x,y2)
hold on
y3=2*x+3;
figure(3)
plot(x,y3)
如果想三条线画到一张图上,把figure(i)去掉就可以了.
matlab如何同时画多个图?
matlab如何同时画多个图?
我想画出3个图来,但是这样写运行后只能显示出最后一个图.怎么做才能出来多个figure窗口把图全部显示出来呢?谢谢~~
x=0:0.1:10;
y1=3*x+2;
plot(x,y1)
y2=x-5;
plot(x,y2)
y3=2*x+3;
plot(x,y3)
我想画出3个图来,但是这样写运行后只能显示出最后一个图.怎么做才能出来多个figure窗口把图全部显示出来呢?谢谢~~
x=0:0.1:10;
y1=3*x+2;
plot(x,y1)
y2=x-5;
plot(x,y2)
y3=2*x+3;
plot(x,y3)
其他人气:590 ℃时间:2019-09-25 22:03:26
优质解答
我来回答
类似推荐
猜你喜欢
- 1解方程组x/y=5/4 x-1/y+2=2/3
- 2like_____(play)with my little dog.
- 3大气压换算的问题
- 4因为他生病了所以今天没有来学校 用that做___ ___ ___she was ill that she didn't come to school today
- 5关于要多观察多体验的名言或诗句
- 6某烧瓶中盛有等体积的O2和NO2的混合气体,倒置在盛满水的水槽中,则反应结束后
- 7中国是一个历史悠久的国家.用英语怎么说
- 8什么是显微镜上的油镜?
- 9A new teacher will come to our school to teach u
- 10my,is,healthy,because,he,pretty,every,exercises,day,geandpa.2.what play sports you do?