for i=profileList
    index = find(data.CastNum == i);
    pH = [NaN; data.stdVrs(index)];
    depth = [NaN; data.CTDPress(index)];
    dateNum = data.DateNum(index(1));
    hold on
    waterfall(pH', dateNum, depth')
    datetick('y');
end

ax = gca;
ax.ZDir = 'reverse';
ax.YDir = 'reverse';
view(3);
hidden off;
grid on
title('Vrs Std Dev vs Depth and Time');
xlabel('Vrs Std Dev');
ylabel('Date');
zlabel('Depth dBar');
hold off