close all
clear timeArray depthArray flArray

for i=1:10
    i
    timeArray(i, :) = datenum(time{i}{1}) * ones(1,44);
    depthArray(i,:) = depth{i}(1:44);
    flArray(i,:) = FL{i}(1:44);
    plot3(timeArray(i, 3:end), flArray(i,3:end), depthArray(i,3:end));
    hold on
end
datetick('x');
grid
axis([min(min(timeArray)) max(max(timeArray)) 0 30 -80 0]);
set(gca, 'ZLim', [-60 0],'FontSize', 20);
xlabel('Time (UTC + 0)','FontSize', 22);
ylabel('FLBB FL (ug/l)','FontSize', 22);
zlabel('Depth (m)','FontSize', 22);

% figure
% surf(timeArray, flArray, depthArray)
% datetick('x');
% axis([min(min(timeArray)) max(max(timeArray)) 0 40 -80 0]);
% grid
    