Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: legend for reference lines


From   Alan Neustadtl <[email protected]>
To   [email protected]
Subject   Re: st: legend for reference lines
Date   Sat, 19 Dec 2009 16:11:56 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index