clear
close all
R=input('What is the name of the data file (eg, mbari_slack)?  ','s');
eval(['load ', R])
figure(1)
plot(x_s(:,end),z_s(:,end))
axis equal
grid on
title('Static Configuration')
ylabel('Depth (m)')
xlabel('Horizontal Coordinate (m)')
%tmp=ceil((z(end)+z_s(end,end))/1000)*1000;
%axis([0 tmp 0 tmp])

figure(2)
subplot(2,1,1)
plot(s, T)
grid on
ylabel('Tension (lbf)')
xlabel('Lagrangian Coordinate (m)')

subplot(2,1,2)
plot(s, phi)
grid on
ylabel('Angle (rad)')
xlabel('Lagrangian Coordinate (m)')

