scf - set the current graphic figure (window)
scf(num) set the figure with figure_id==num as the current figure. If it does not already exist it is created.
scf(h) set the figure pointed to by the handle h as the current figure. If it does not already exist it is created.
scf() is equivalent to scf(max(winsid())+1) . It may be used to create a new graphic window.
f4=scf(4); //creates figure with id==4 and make it the current one f0=scf(0); //creates figure with id==0 and make it the current one plot2d() //draw in current figure (id=0) scf(f4); // set first created figure as current one plot3d() //draw in current figure (id=4)
set , get , gcf , clf , graphics_entities ,
S. Steer INRIA