Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Question about blabel

From   "Vitorino, Maria Ana" <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   st: Question about blabel
Date   Thu, 13 Jan 2011 07:05:31 +0000

Dear statalist users,

I would like to do a graph just like this one

sysuse citytemp, clear 
#delimit ;
graph bar tempjuly tempjan, over(region) bargap(-30)
 legend( label(1 "July") label(2 "January") )
 ytitle("Degrees Fahrenheit")
 title("Average July and January temperatures")
 subtitle("by regions of the United States")
 note("Source:  U.S. Census Bureau, U.S. Dept. of Commerce")
 blabel(bar, position(inside) format(%9.1f) color(white)) ;
#delimit cr


BUT, I would like the bar labels to be the number of observations that were used to calculate the means in each of the bars. Is this possible?

Thanks for your help!
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index