Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: controlling -sort- within a complex graph


From   Michael McCulloch <[email protected]>
To   Statalist <[email protected]>
Subject   st: controlling -sort- within a complex graph
Date   Thu, 19 Oct 2006 07:29:37 -0700

Hello,
I would like to sort this graph by a variable <idnum>. Whether I place the sort option sort(idnum) within the -twoway- section of the -scatter- section of code, either way the sort displayed is always in descending order, whereas I would like the display in ascending order. Any suggestions would be greatly appreciated.

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 "II" 2 "II" 3 "IIIA", angle(h)) mlabel(idstr) ///
|| scatter Model estimate if parmseq==1, msize(medlarge) legend(off)






Best wishes,
Michael McCulloch


____________________________________

Michael McCulloch
Pine Street Foundation
124 Pine Street, San Anselmo, CA 94960-2674
tel 415.407.1357
fax 415.485.1065
email: [email protected]
web: www.pinestreetfoundation.org

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index