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

Re: st: RE: barplot x-axis labels


From   Arnold Kester <Arnold.Kester@stat.unimaas.nl>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: barplot x-axis labels
Date   Mon, 28 Feb 2005 17:12:16 +0100

Dear David,

Thanks for your input, but it seems I'm still missing something:

This gives me a superfluous "1" below each bar (and below that the
wanted text.

graph bar (mean) Nose= BiopNose Kidney= BiopKidney ///
 Lung= BiopLung Skin= BiopSkin Muscle= BiopMuscle, ///
 ascategory  showyvars nolabel

Arnold

David Harrison wrote:
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:arnold.kester@stat.unimaas.nl] Sent: 28 February 2005 13:35 To: statalist@hsphsun2.harvard.edu 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/


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.1 - Release Date: 27-2-05

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index