delete a graphics window
xdel([win_nums])
an integer scalar or vector.
xdel deletes the graphics windows whose numbers are included in the vector win_nums or the current graphics window if no argument is given.
xdel
win_nums
plot2d(); scf(); plot3d(); xdel(0); // delete the first graphic xdel(); // delete the current figure