1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| figure('Name','Agoufou Mali','NumberTitle','off')
subplot 211
[AX,H1,H2]=plotyy(agou(:,6),agou(:,2),agou(:,6),agou(:,4),'plot')
hold on
set(H1,'color','b','LineWidth',2,'Marker','o','MarkerEdgeColor','k','MarkerFaceColor','b','MarkerSize',6)
set(H2,'color','g','LineWidth',2,'Marker','o','MarkerEdgeColor','k','MarkerFaceColor','g','MarkerSize',6)
plot(agou(:,5),'color','r','LineWidth',2,'Marker','o','MarkerEdgeColor','k','MarkerFaceColor','r','MarkerSize',6)
set(get(AX(1),'Ylabel'),'String','Nombre de cas')
set(get(AX(2),'Ylabel'),'String','Valeurs OMI et AOT')
set(get(AX(2),'Xlabel'),'String','Semaines')
set(AX(2),'Xtick',1:21)
h = legend([H1,H2],'Nombre de cas','OMI','AOT',4);
set(h,'Interpreter','none')
title('AGOUFOU','fontsize',14,'fontweight','b','color','k');
hold off |
Partager