can be 2 different figures can be plotted and seen ?
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Mischa Kim
on 30 Jun 2015
Edited: Mischa Kim
on 30 Jun 2015
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 Comments
More Answers (0)
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!