% plot differences
% you have to run plot_all_surveys first
for line = 1:8

    plot_all_surveys

end
    figure(11)
    subplot(2,1,1)
    hold all
    title('Difference along profile 7')

    plot(lines(5).cross_shore,lines(5).zi-lines(2).zi,'linewidth',2)

plot([-300 1400],[0 0],'k')
%
% plot(lines(5).cross_shore,lines(2).zi-lines(3).zi+2)
% plot([-300 1400],[2 2],'k')
%
% plot(lines(5).cross_shore,lines(3).zi-lines(4).zi+4)
% plot([-300 1400],[4 4],'k')
%
% plot(lines(5).cross_shore,lines(4).zi-lines(5).zi+6)
% plot([-300 1400],[6 6],'k')

xlim([-200 200])
ylim([-1 1])
ylabel('[m]')



subplot(2,1,2)
hold all
title('Profile 7 (October)')
xlabel('[m]')
ylabel('[m]')
plot(lines(5).cross_shore, lines(5).zi,'linewidth',2);
plot([-300 1400],[0 0],':r')
xlim([-200 200])
ylim([-1 6])
hold off