% -------------------------------------------------------------
%   plot_SSPatSHARK_ts
%
%    Sample routine to plot C, T, S for SW06 Shark mooring
%
% -------------------------------------------------------------



figure(1); clf
set(1,'renderer','zbuffer');                       % fix matlab datetick bug in opengl

load Shark_all

pcolor(jd,SENSOR_DEPTH,C); shading('interp'); axis('ij');
datetick;

% add colorbar, resize and label
hcb = colorbar;
o_ax = get(gca,'position');
set(hcb ,'position', [.82 .11 .04  .5]);
set(gca, 'position',o_ax);
set(get(hcb,'title'),'string','C (m/s)');

title('SW06 Shark Sound Speed Profiles (from ASIS, Shark, and SW30)')
xlabel('Date  2006')
ylabel('Depth (m)');




figure(2); clf
set(2,'renderer','zbuffer');                       % fix matlab datetick bug in opengl

pcolor(jd,SENSOR_DEPTH,SALT); shading('interp'); axis('ij');
 datetick;

% add colorbar, resize and label
hcb = colorbar;
o_ax = get(gca,'position');
set(hcb ,'position', [.82 .11 .04  .5]);
set(gca, 'position',o_ax);
set(get(hcb,'title'),'string','Sal (ppt)');

title('SW06 Shark Salinity Profiles (from ASIS, Shark, and SW30)')
xlabel('Date  2006')
ylabel('Depth (m)');




figure(3); clf
set(3,'renderer','zbuffer');                       % fix matlab datetick bug in opengl

pcolor(jd,SENSOR_DEPTH,TEMPR); shading('interp'); axis('ij');
 datetick;

% add colorbar, resize and label
hcb = colorbar;
o_ax = get(gca,'position');
set(hcb ,'position', [.82 .11 .04  .5]);
set(gca, 'position',o_ax);
set(get(hcb,'title'),'string','^oC');

title('SW06 Temperature Profiles (from ASIS, Shark, and SW30)')
xlabel('Date  2006')
ylabel('Depth (m)');





