
maxdur = 0.0022; % sec
res = .05;	% cm resolution
FOV = 30;	% cm
dT = 0.000004;	% s
N=30;		% 		% Initial N


g = whirl(N,res,FOV,dT);	% Initial G
t = [1:length(g)]*dT;

g = g(:) * exp(i*2*pi*[0:N-1]/N);

for q=1:N

  plot(t*1000,real(g(:,q))-5,'b-',t*1000,imag(g(:,q))+5,'r-'); 
  setprops;
  axis off; drawnow;
  set(gca,'Color',[1 1 1]);
  set(gcf,'Color',[1 1 1]); 
  setprops;
  drawnow;

  fig2tiff('whirli',q);
 
end;



