%overlaySciData.m

clear;

[cpP1,cpT1,cpS1,flbbFL1,flbbDepth1,optodeO2Conc1,optodeDepth1]=parseSciData('raw/2016-3-15T17-13-7');
[cpP2,cpT2,cpS2,flbbFL2,flbbDepth2,optodeO2Conc2,optodeDepth2]=parseSciData('raw/2016-3-15T18-42-22');
[cpP3,cpT3,cpS3,flbbFL3,flbbDepth3,optodeO2Conc3,optodeDepth3]=parseSciData('raw/2016-3-15T20-30-13');

figure(1);title('CPF 10FEB16');

subplot(2,2,1);
plot(cpT1,-cpP1); hold on
plot(cpT2,-cpP2);
plot(cpT3,-cpP3);
xlabel('degC'),ylabel('dBar');
grid on;


subplot(2,2,2);
plot(cpS1,-cpP1); hold on
plot(cpS2,-cpP2);
plot(cpS3,-cpP3);
xlabel('PSU'),ylabel('dBar');
grid on;

subplot(2,2,3);
plot(flbbFL1(3:end),flbbDepth1(3:end)); hold on
plot(flbbFL2(3:end),flbbDepth2(3:end));
plot(flbbFL3(3:end),flbbDepth3(3:end));
xlabel('flbb'),ylabel('dBar');
grid on;

subplot(2,2,4);
plot(optodeO2Conc1(2:end),optodeDepth1(2:end)); hold on
plot(optodeO2Conc2(2:end),optodeDepth2(2:end));
plot(optodeO2Conc3(2:end),optodeDepth3(2:end));
xlabel('O2'),ylabel('dBar');
grid on;