You can use in matlab >> figure(1) >> figure(2) example >> figure(1) >> plot(x,y) >> figure(2) >> plot(z,m)