You are missing the manual or on-line help.
The "other" axis on a bar chart is considered
a categorical axis, not an x axis. Its options
are different.
Example:
. graph bar (mean) mpg ,
over(foreign, relabel(1 "D" 2 "F")) over(rep78)
Nick
[email protected]
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of
> FEIVESON, ALAN
> H. (AL) (JSC-SK) (NASA)
> Sent: 05 February 2004 18:29
> To: statalist (E-mail)
> 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/