% point allows you to set an initial initial condition by clicking on a 
% point in the graphics window.  For dimension=1 this sets t0 and x0.  
% For dimension=2 this sets the two components of x0, and t0 is set to 0.  
% If dimension>2 it does nothing; you should enter initial conditions 
% from the command line for 3-dimensional examples.

if dimension==1
	disp('Click on initial point.')
	[t0,x0]=ginput(1);
elseif dimension==2
	disp('Click on initial point.')
	x0=ginput(1);
	t0=0;
else 
	disp('For dimension=3 enter t0 and x0 from the command line.')
end
% M. Day, June 5, 2005
