1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| hold on
for i=1:25
h=plot(date(ww+1:H,:),cumsum(Ptfopt_rdt(:,i))); %attention, ce sera surement à changer ton Ptfopt_rdt(i,:), je ne sais pas à quoi ressemble tes données
if i>=10 && i<20
set(h,'LineStyle',':')
end
if i>=20
set(h,'LineStyle','--')
end
end
hold off
grid on
datetick('x','yy')
legend('EW','GMV','MaxDiv1','Maxdiv2','GMVC','MaxDiv1c','Maxdiv2c','GMV_reac','MaxDiv1_reac','Maxdiv2_reac','GMVC_reac','MaxDiv1c_reac','Maxdiv2c_reac','GMV_emp','MaxDiv1_emp','Maxdiv2_emp','GMVC_emp','MaxDiv1c_emp','Maxdiv2c_emp','GMV_ewma','MaxDiv1_ewma','Maxdiv2_ewma','GMVC_ewma','MaxDiv1c_ewma','Maxdiv2c_ewma') |
Partager