Left of the default of bar labels:
graph hbar (mean) trunk turn mpg , scheme(s1mono) legend(off)
blabel(name ,pos(inside))
Left end of the bars:
graph hbar (mean) trunk turn mpg , scheme(s1mono) legend(off)
blabel(name ,pos(base))
If you mean the name of variable and not the label "mean of ..." then
use the -nolabel- option with the -blabel()- option.
Another way: left of the categorical axis (using Nick's -lstack-):
sysuse auto,clear
lstack trunk turn mpg, into(var) clear
graph hbar (mean) var , over(_stack) scheme(s1mono) legend(off)
Scott
On Fri, Oct 10, 2008 at 4:38 PM, Eric Uslaner <[email protected]> wrote:
> Greetings,
>
> I've spent two hours on what should be a simple issue--reading and rereading the manual and the help files. I want to put the variable labels on the left of a graph hbar and typed:
>
> graph hbar (mean) *clump, scheme(s1mono) legend(off)
>
> for a series of variables named xxxclump. I get bars but no labels on the left. I have done this before, but alas I cannot reproduce the labels on the left that I generated earlier. Any suggestions would be most welcome.
>
> Thanks,
>
> Ric Uslaner
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/