clear all;
threeD=1;
load mission;
time=epochsec-min(epochsec);
gvars = ['gT';'gS';'gO';'gP';'gF';'gB'];
vars = [' Biolum';'   T   ';'   S   ';'Bioflow';'   F   ';'  OBS  '];

CAX =[5.5e9 2e11];
%%--------------------------------------------------
%% Color Dot plots
%%--------------------------------------------------
figure(1); giffig_wide; cmp=jet(256);
[mv nv]=size(vars);
% out for now for V=1:mv;
% for V=1:1; %length(vars);
V=1:1;
eval(['cvar = ' vars(V,:) ';']); 
   cax=CAX(V,:); rng=linspace(cax(1),cax(2),256); 
   % pstr=['axes(' '''' 'position' '''' ',P' int2str(V) ');']; eval(pstr);
   for p=1:length(cvar);
      [mink k]=min(abs(rng-cvar(p)));
      g=plot3(Xpos(p),Ypos(p),-1*depth(p),'ko'); hold on;
      set(g,'markerfacecolor',cmp(k,:),'markeredgecolor',cmp(k,:),'markersize',5);
	end   
% end%for
