MATLAB: How to display two graphs in separate figure windows using plot command

graphMATLABmuliple figuresplotsubplot

i use a matlab program for my project. There i want to produce two graphs at different instances. But the second graph replaces the 1st graph when that command is executed.. i want both to be displayed in separate window. I dont want both graphs in same window (using "subplot"). Is it possible in matlab?

Best Answer

Use figure command
plot(a);
figure;plot(b,'r');