% 

%  routine to read ascii output of event log and plot it

%



% read one line at a time with loop

fid=fopen('c:\gbs95\events\events.txt','r');



% read to find out how many lines

[aa,count]=fscanf(fid,'%s');

fseek(fid,0,'bof');



% now do loop

for i=1:count/14;

  this=fscanf(fid,'%s',12);

  lat(i)=fscanf(fid,'%f',1);

  lon(i)=fscanf(fid,'%f\n',1);

end;



% plot

plot(lon,lat,'c+');