
From  Michael McCulloch <mm@pinest.org> 
To  statalist@hsphsun2.harvard.edu 
Subject  st: ytitle suboption valuelabel: how to label using the text from a variable 
Date  Thu, 19 Oct 2006 07:20:42 0700 
In reply to your second query, the ylabel() option has a valuelabel suboption, allowing you to type ylabel(1 2, valuelabel) which should cause value labels to be printed.
* forest plot comparing results (thanks to Scott Merryman)
encode ids, gen(Model) twoway rcap min95 max95 Model if parmseq==1, horizontal msize(huge) /// xtitle(Hazard Ratio and 95% Confidence Interval, margin(0 0 0 5)) /// ytitle(Analysis Method) ylabel( 1 "Adjusted" 2 "Unadjusted", angle(h)) ///  scatter Model estimate if parmseq==1, msize(medlarge) legend(off)
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2015 StataCorp LP  Terms of use  Privacy  Contact us  What's new  Site index 