<>
But your solution would require Robert to run the code twice, once to see
that Stata lets the y-axis end at .08, and then to update the code with the
coordinate 0.84. Worse, the next graph will require a different one...
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Alan Neustadtl
Gesendet: Samstag, 19. Dezember 2009 22:12
An: [email protected]
Betreff: Re: st: legend for reference lines
How about using the -text- option like in my example below:
twoway kdensity mpg , ///
xline(16.1,lp(solid)) ///
xline(22.22,lp(dash)) ///
xline(28.33,lp(shortdash)) ///
text(.084 16.10 "foo") ///
text(.084 22.22 "bar") ///
text(.084 28.33 "blup")
Best,
Alan
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/