I take it you want each group bars labeled "0, 5, ..., 50" for each category of
gene?
If so, you could use the -relabel- option. For example, relabeling the
categories of rep78:
graph bar (mean) headroom gear_ratio, over(rep78, relabel(1 Bad 2 Poor 3 Average
4 Good 5 Excellent))
Scott
----- Original Message -----
From: "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <[email protected]>
To: "statalist (E-mail)" <[email protected]>
Sent: Thursday, February 05, 2004 12:29 PM
Subject: st: xlabel in bar graph
> When I try to use xlabel options in a Stata 8 bar graph, I get no
> satisfaction (see below). Also, when I go to the Stata web site, I find that
> there are only 2 FAQ's on Stata 8 graphics (neither of which address my
> problem) - I find this hard to believe - what am I missing?
>
>
> Thanks
> Al Feiveson
>
> . graph bar yl yr if gene<230.5, over(gene) legend(label (1 "L-average" )
> label (2 "R-average") ) xlabel(0(5)50)
>
> xlabels(0(5)50) not allowed, xaxis1 does not exist
> invalid syntax
> invalid syntax
> invalid syntax
> 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/
*
* 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/