Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: barplot x-axis labels


From   "David Harrison" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: barplot x-axis labels
Date   Mon, 28 Feb 2005 14:18:47 -0000

Actually, there is another way which may be better (and as it happens is in the dialog box): use the option -ascategory- to treat the y variables as if they were the first (and in this case only) -over()- category. This also makes all the bars look the same and puts gaps between them, avoiding most of the rest of your code. You will still want -nolabel- to label them with variable names instead of labels ("mean of...").

David

-----Original Message-----
From: Arnold Kester [mailto:[email protected]]
Sent: 28 February 2005 13:35
To: [email protected]
Subject: Re: st: RE: barplot x-axis labels



Op 02/28/2005 01:45 PM schreef David Harrison:
> You need the options -showyvars- and -nolabel- instead of
> -blabel(name)-.

Ah, that works. Thanks a lot. I overlooked it. Doesn't seem to be in the 
-graph bar- menu either. Help file says it is "rarely specified". I'm 
doing something very unusual, it seems.


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index