close all
clear all

load ./PTO/Res-30d-2000k-1.5A-9T-0W-14000b.mat

figure('Position',[89 84  856 1044],'PaperOrientation','portrait','PaperPosition',[0 0 8.5 11]);
subplot(2,1,1)
plot(t,(phi_t(:,190)-phi_t(:,240))*180/pi)
xlabel('time (s)');
ylabel('Tether Angle (degrees)');

subplot(2,1,2)
plot(t,T_t(:,190).*sin(phi_t(:,190)-phi_t(:,240)))
xlabel('time (s)');
ylabel('PTO side loading (lbs)');



figure('Position',[89 84  856 1044],'PaperOrientation','portrait','PaperPosition',[0 0 8.5 11]);
