
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% HOP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
figure(1);
t=(1:0.15:9);
yup=0.07;

load c:\klaus\aaec6564\mlab\worksp\mod11_HOP_Pac_forgraph T1 T2 T3 T4;

%%%%%%%%%%%%%%%%%%%%%%%%
% expected effort
%%%%%%%%%%%%%%%%%%%%%%%%
PacT1=sort(T1(1,:));
PacT2=sort(T2(1,:));
PacT3=sort(T3(1,:));
PacT4=sort(T4(1,:));
l=length(PacT1);

subplot(3,1,1);
bc1=histc(PacT1,t)/l;
bc2=histc(PacT2,t)/l;
bc3=histc(PacT3,t)/l;
bc4=histc(PacT4,t)/l;
plot(t,bc1,'-',t,bc2,'--',t,bc3,':',t,bc4,'-.');
legend('T1','T2','T3','T4');
title('Pacific');
axis([1 9 0 yup]);


load c:\klaus\aaec6564\mlab\worksp\mod11_HOP_Car_forgraph T1 T2 T3 T4;
PacT1=sort(T1(1,:));
PacT2=sort(T2(1,:));
PacT3=sort(T3(1,:));
PacT4=sort(T4(1,:));
l=length(PacT1);

subplot(3,1,2);
bc1=histc(PacT1,t)/l;
bc2=histc(PacT2,t)/l;
bc3=histc(PacT3,t)/l;
bc4=histc(PacT4,t)/l;
plot(t,bc1,'-',t,bc2,'--',t,bc3,':',t,bc4,'-.');
legend('T1','T2','T3','T4');
title('Caribbean');
axis([1 9 0 yup]);


load c:\klaus\aaec6564\mlab\worksp\mod11_HOP_Mag_forgraph T1 T2 T3 T4;
PacT1=sort(T1(1,:));
PacT2=sort(T2(1,:));
PacT3=sort(T3(1,:));
PacT4=sort(T4(1,:));
l=length(PacT1);

subplot(3,1,3);
bc1=histc(PacT1,t)/l;
bc2=histc(PacT2,t)/l;
bc3=histc(PacT3,t)/l;
bc4=histc(PacT4,t)/l;
plot(t,bc1,'-',t,bc2,'--',t,bc3,':',t,bc4,'-.');
legend('T1','T2','T3','T4');
title('Magdalena');
axis([1 9 0 yup]);






