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


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...").


-----Original Message----- From: Arnold Kester
[] Sent: 28 February 2005 13:35 To: 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: * * *

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:

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