Then there is no way to show the label for every 5th set of bars other than
something like
over(gene, relabel(1 "." 2 "." 3"." 4"." 6"." 7"." 8"." 9"." 11"."...(all
the way to 49)) ) ?
Even with this, I can't get it to show nothing for non-multiples of 5 For
example if I replace "." with "" or " ", I still get the original x-variable
value.
Al Feiveson
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Nick Cox
Sent: Thursday, February 05, 2004 1:01 PM
To: [email protected]
Subject: st: RE: xlabel in bar graph
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/
*
* 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/