function fig = PLtrain()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load PLtrain_start1
redgreenblue=[0.2157 .6353 .6353]*1.2;%let's make it lighter for this figure

h0 = figure('Units','normalized', ...
	'Color',[redgreenblue], ...
	'Colormap',mat0, ...
	'FileName','C:\plgui\mygui\PLtrain.m', ...
	'MenuBar','none', ...
	'Name','VPR:  Training the Computer', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[0.3    0.5161    0.4004    0.2305], ...
	'Tag','Fig1', ...
	'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[redgreenblue*1.1], ...
	'fontunits','normalized','fontsize',.35, ...
	'FontWeight','normal', ...
   'Callback','PLsort',...
	'ListboxTop',0, ...
	'Position',[0.1121951219512195 0.5706214689265536 0.4390243902439024 0.2429378531073446], ...
	'String','Copy Training ROIs', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[redgreenblue*1.1], ...
	'fontunits','normalized','fontsize',.35, ...
	'FontWeight','normal', ...
   'Callback','PLtrain_start2', ...
	'ListboxTop',0, ...
	'Position',[0.1609756097560976 0.1751412429378531 0.3658536585365854 0.2429378531073446], ...
	'String','Build Classifier', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[redgreenblue*1.1], ...
	'fontunits','normalized','fontsize',.35, ...
	'FontWeight','normal', ...
   'Callback','train_help', ...
   'ListboxTop',0, ...
	'Position',[0.6975609756097561 0.5706214689265536 0.1951219512195122 0.2429378531073446], ...
	'String','Help', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[redgreenblue*1.1], ...
	'fontunits','normalized','fontsize',.35, ...
	'FontWeight','normal', ...
	'Callback','close(gcbf)', ...
	'ListboxTop',0, ...
	'Position',[0.6975609756097561 0.1751412429378531 0.1951219512195122 0.2429378531073446], ...
	'String','Exit', ...
	'Tag','Pushbutton1');
if nargout > 0, fig = h0; end
