% GUIclosefigs
% Function for MODIS GUI
% Copyright by Jasmine S Nahorniak, Oregon State University. 
% March 13 2000

function GUIclosefigs;

GUIbutton('Pushbutton12','WORKING','on');

mapfigs=findobj('Tag','Mapfigure');

level2figs=findobj('Tag','Level2figure');

twoDfigs=findobj('Tag','twoDfigure');

histfigs=findobj('Tag','histfigure');

close([mapfigs; twoDfigs; histfigs; level2figs]);

GUIfigurenum('PopupMenu1','Mapfigure');
GUIfigurenum('PopupMenu3','twoDfigure');

GUIbutton('Pushbutton12','close figures','off');
