function bfithelp(cmd)
% BFITHELP Displays help for Basic Fitting and Data Statistics
%   BFITHELP('bf') displays Basic Fitting Help  
%   BFITHELP('ds') displays Data Statistics Help  

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.3 $

switch cmd
case 'bf'
	try
	   helpview([docroot '/mapfiles/math_anal.map'], ...
	           'basic_fitting_gui');
	catch
	   errordlg(['Unable to display help for Basic Fitting:' ...
	         sprintf('\n') lasterr ]);
	end

case 'ds' 
	try
	   helpview([docroot '/mapfiles/creating_plots.map'], ...
	           'plotting_basic_stats');
	catch
	   errordlg(['Unable to display help for Data Statistics' ...
	         sprintf('\n') lasterr ]);
	end
end
