[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: labeling bars with twoway bar and rcap
Dear statalist,
the following command gives me the plot you can see here:
http://www.wiwi.uni-rostock.de/~wsf8545/test.png
graph twoway
(bar meanwrite Z_faks if Z_faks==0, horizontal)
(bar meanwrite Z_faks if Z_faks==1, horizontal)
(bar meanwrite Z_faks if Z_faks==2, horizontal)
(bar meanwrite Z_faks if Z_faks==3, horizontal)
(rcap hiwrite lowrite Z_faks, lwidth(thick) lcolor(black) horizontal),
legend(order(1 "Fakult 1" 2 "Fakult 2" 3 "Fakult 3" 4 "Fakult 4" )
cols(1) width(100));
Is it possible to label the bars? Such that the upper yellow bar has
a 3.8 somewhere, the lower blue one a 3.5 etc.
I tried to use blabel(), searched the web, but to no avail.
Thanks for your help.
Daniel
*
* 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/