[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: graph bar labels
There may be an official Stata solution, but what
I would recommend is that you try -catplot- from SSC.
-catplot- appeared early in the life of Stata 8 given
the discovery that -graph bar- is not that good at
. catplot bar rep78 foreign, blabel(bar, position(outside))
Is that what you want?
> 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)
> . 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.
* For searches and help try: