|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Beamplot, scale
For those somewhat in the dark:
0. -beamplot- is a program on SSC.
1. As Maarten Buis implied, Anne-Christine's problem is with
her -graph twoway- syntax. -graph twoway-, underlying -beamplot-, sees
xlabel(0 (100) -800))
and parses that into
xlabel(0 (100) -800)
and
)
It can make no sense of ")" by itself. ")" is, of course, just
a typo.
2. There is thus no problem with -beamplot-. You may use -xla()-
freely to get what you want.
Nick
[email protected]
Knag Anne-Christine
> Let me rephrase my question: Can one use xlabel in beamplot?
> Is it possible
> to adjust scales?
>
> I have a beamplot where the scale runs from -1000 to 500
> (syntax: beamplot
> weight_loss, over(tank) ytitle("") xtitle ("Somatic loss (g)
> ") by(sex)
>
> 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)
>
> The error meassage says
> ) is not a twoway plot type
> r(198);
*
* 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/