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

RE: st: graph bar labels


From   "Steichen, Thomas J." <[email protected]>
To   <[email protected]>
Subject   RE: st: graph bar labels
Date   Fri, 11 Nov 2005 08:43:22 -0500

> Ricardo Ovaldia wrote:
> > I will like to place the number of observation on top
> > of each bar.  For example, using the auto data:
> > . sysuse auto, clear
> > . collapse (mean)  foreign (count)
> > total=foreign,by(rep78)
> > . graph bar  foreign, over( rep78)
> >
> > What I want is the number in the variable -total- on
> > top of the corresonding graph.  I have not been able
> > to do this and -blabel()- does not help.

While workable alternative solutions have been suggested,
the inability to do this in -graph bar- with the -blabel()- 
option seems to be an oversight. I would think that adding
a -blabel(varname())- sub-option might be something StataCorp
should consider.  Just my two cents worth (discounted at
whatever the going rate is).

Tom

-----------------------------------------
CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s),
contains information that may be confidential, protected by the
attorney-client or other legal privileges, and/or proprietary non-
public information. If you are not an intended recipient of this
message or an authorized assistant to an intended recipient, please
notify the sender by replying to this message and then delete it from
your system. Use, dissemination, distribution, or reproduction of this
message and/or any of its attachments (if any) by unintended recipients
is not authorized and may be unlawful.


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