clear all
close all

buoy_load = textread('8.001.txt','%f','commentstyle','shell');
anchor_load = textread('8.002.txt','%f','commentstyle','shell');
%counts = [counts ; textread('2.002.txt')];
%counts = [counts ; textread('3.002.txt')];

time = .25:.25:length(buoy_load)/4;
buoy_load = (buoy_load-0.004)*(10000/0.016);
anchor_load = (anchor_load-0.004)*(10000/0.016);

start_time = 0001;
delta_time = 60;
start_pt = start_time/.25;
end_pt = start_pt+delta_time/.25;

start_pt = 1;
end_pt = length(buoy_load);

figure

plot(time(start_pt:end_pt)-start_time,buoy_load(start_pt:end_pt),'gx-',time(start_pt:end_pt)-start_time,anchor_load(start_pt:end_pt),'bx-');
xlabel('seconds');
ylabel('lbs');

legend('Buoy Loads','Anchor Loads');


%print -depsc2 'Loads'