[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Beamplot, scale
xla(0(-100)-800)
would also work.
Nick
[email protected]
Svend Juul replied to Anne-Christine Knag:
> I would like to have a scale from 0 to -800 and therefore tried the
> following:
>
> beamplot weight_loss, over(tank) ytitle("") xtitle ("Somatic
> loss (g) ")
> xlabel(0 (100) -800)) by(sex)
>
> ...
>
> ----------------------------------------------------------------------
>
> Maarten and Nick explained things. I wondered, however, about:
>
> ... , xlabel(0(100)-800)
>
> I guess that Anne-Christine wants a reverse x-axis scale, but
> that does not happen by reversing the numeric list in xlabel().
> Instead:
>
> ... , xlabel(-800(100)0) xscale(reverse)
*
* 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/