can be 2 different figures can be plotted and seen ?

2 次查看(过去 30 天)
hi
i have written a program in which i have plotted 2 different figures.
e.g
plot(x,y)
plot(n,p)
now i want to see both figures in different window. kindly help me how i plot both. regards

采纳的回答

Mischa Kim
Mischa Kim 2015-6-30
编辑:Mischa Kim 2015-6-30
Sure. E.g.
figure
plot(x,y)
figure
plot(n,p)
Alternatively, use subplot
subplot(2,1,1)
plot(x,y)
subplot(2,1,2)
plot(n,p)

更多回答(0 个)

类别

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