I have a graph for 3 variables as shown here. I know the saturation point co-ordinates and want arrows of the same color to be pointing them exactly like I have hand drawn in the figure. I tried annotations(arrow) function but it did not work even though I used correct co-ordinates it makes the arrow out of the boundary or maybe I was using it in a wrong way. Please help me if I can draw the arrows at a particular point I need. I would also have to declare 3 set of (x,y) co-odrinates since my main function needs to work simultanously for the three variables.
Code I tried:
plot(T,ih,T,iv,T,sh)legend('Infected Human','Infected Mosquito','Susceptible Human','Location','east')xlabel('Time (days)')ylabel('Population')x=[39636/40000 39636/40000];y=[1 180/200];annotation('arrow',x,y)
Thank you very much in advance.
Best Answer