[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: controlling -sort- within a complex graph
I am not clear on what your problem is. In my
Stata, sorts produce ascending order.
However, either -xsc(reverse)- or -ysc(reverse)-
may be what you want.
More generally, it helps to describe a problem
in terms of the simplest example you can think of
and a Stata dataset.
> 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
> 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)
* For searches and help try: