
canned = figure('Color', [.2 0 .85], 'Name', 'Pre-Programmed Examples', 'NumberTitle', 'off');


Title_menu = uicontrol(canned, 'Style', 'text',...
	'Pos', [140, 375, 300, 50],...
	'String', 'Pre-Programmed Examples',...
	'BackGroundColor', [.2 0 .85],...
	'ForeGroundColor', [1 1 1]);

Example1_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 1 - Bandwidth',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [25, 300, 250, 50],...
	'CallBack', ['close (gcf);' 'ex1']);

Example6_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 6 - Sample Size',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [300, 300, 250, 50],...
	'CallBack', ['close (gcf);' 'ex6']);

Example2_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 2 - Noise Level',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [25, 230, 250, 50],...
	'CallBack', ['close (gcf);' 'ex2']);

Example7_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 7 - Small p',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [300, 230, 250, 50],...
	'CallBack', ['close (gcf);' 'ex7']);

Example3_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 3 - Non-Canonical Kernels ',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [25, 160, 250, 50],...
	'CallBack', ['close (gcf);' 'ex3']);

Example8_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 8 - Large p ',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [300, 160, 250, 50],...
	'CallBack', ['close (gcf);' 'ex8']);

Example4_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 4 - Canonical Kernels',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...
	'Pos', [25 90 250 50],...
	'CallBack', ['close (gcf);' 'ex4']);

Example9_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 9 - Sine Wave Estimate',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...
	'Pos', [300 90 250 50],...
	'CallBack', ['close (gcf);' 'ex9']);


Example5_button = uicontrol (canned,...
	'Style', 'push',...
	'String', 'Example 5 - Scedasticity',...
	'BackGroundColor', [0 0 0],...
	'ForeGroundColor', [1 0 0],...	
	'Pos', [25, 20, 250, 50],...
	'CallBack', ['close (gcf);' 'ex5']);



backstart = uicontrol (gcf,...
	'Style', 'push',...
	'String', 'Return to Start',...
	'Position', [430 10 120 25],...
	'CallBack', ['close (gcf);' 'start']);
