load static_config25
depth=4000;
Z_zero=Z_zero;
Z_design=Z_design;
Z_survive=Z_survive;
X_zero=X_zero+5;
ns=nodes(end);
figure(1)
plot(X_survive,Z_survive,'linewidth',2.5)
hold
y=Z_survive;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_survive(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_survive(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot(X_design,Z_design,'linewidth',2.5)
y=Z_design;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_design(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_design(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot(X_zero,Z_zero,'linewidth',2.5)
y=Z_zero;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_zero(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_zero(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot([0 1700],[0 0],'--')
hold

xlabel('Horizontal Offset (m)','fontsize',12,'fontangle','italic');
ylabel('Depth (m)','fontsize',12,'fontangle','italic');
text(130,-175,'Slack');text(130,-350,'Config.');text(460,-800,'Design');text(460,-975,'Config.');text(720,-1175,'Survival');text(720,-1350,'Config.')
axis([0 1700 -4000 200])
title('4000-Meter Benthic Mooring (w/ 25-Meter Snubber)')

figure(2)
plot(X_survive,Z_survive,'linewidth',2.5)
hold
y=Z_survive;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_survive(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_survive(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot(X_design,Z_design,'linewidth',2.5)
y=Z_design;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_design(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_design(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot(X_zero(1:end-2),Z_zero(1:end-2),'linewidth',2.5)
y=Z_zero;
y(ns+1:end)=y(ns)+(y(ns+1:end)-y(ns))*y(ns)/(y(ns)-y(end));
plot(X_zero(end),y(end),'s','MarkerSize',10,'LineWidth',2.5);
plot(X_zero(ns),y(ns),'o','MarkerSize',8,'LineWidth',2.5);

plot([0 1700],[0 0],'--')
hold

xlabel('Horizontal Offset (m)','fontsize',12,'fontangle','italic');
ylabel('Depth (m)','fontsize',12,'fontangle','italic');
grid
text(130,-40,'Slack');text(130,-75,'Config.');text(1075,-240,'Design');text(1075,-275,'Config.');text(1420,-330,'Survival');text(1420,-365,'Config.')
axis([0 1700 -800 40])
title('4000-Meter Benthic Mooring (w/ 25-Meter Snubber)')


