I would like to emphasize 6 areas in a scatter figure by shading the background areas and labeling them. So far I could only emphasize the areas by adding lines (hv, hh1, hh0).
figurescatter(iDLvector,kaDLvector,'DisplayName','iDLvector,kaDLvector')xlabel('iDL')ylabel('kaDL')title('Displaced-Lognormal Distribution')axis([-0.25 0.25 -3 3])hv = line([0 0],[-3 3]);hh1 = line([-0.25 0.25],[1 1]);hh0 = line([-0.25 0.25],[0 0]);set([hh0 hv hh1],'LineStyle','--','Color','k')figure(gcf);
The first area would be (-0.25 0) for the horizontal and (1 3) for the vertical, the second area (-0.25 0) for the horizontal and (0 1) for the vertical, and so on…
Thank you very much!
Best Answer