Hello!
I am creating a bar graph with confidence intervals(picture attached below). It would be nice if I could label the bars itself so that it shows the values it conforms to. Does anyone have any suggestions? This is the code I used so far:
twoway (bar avg_vote_2010 gender,barwidth(0.8)) ///
(rcap low_val_2010 hi_val_2010 gender), ///
xlabel( 0 "Female" 1 "Male", noticks) ///
ytitle("Voting 2010 Average") by(actualtreatment)
My goal is to label the bars with the values of the variable "avg_vote_2010." This would be similar in effect to the "blabel" option for the "graph bar" command. I would greatly appreciate any suggestions!
Array
Related Posts with How can I label the values of the bars within a twoway bar graph?
Exporting Tabulation Output To A SpreadsheetI am relatively new to Stata. I need to record frequency counts of some variables in a spreadsheet. …
12-month rolling returns with weekly panel dataDear all, I would like to construct 12-month rolling returns, however, I have weekly panel data. I'…
GMM issues with optimizationDear All, I am following De Loecker and Warzynski to calculate markups. In my previous posts, I hav…
Meta analysis - RE: overall line, odds ratio, summary bar.Hello, I am trying to perform a meta-analysis. I put together the data, and I am creating a forest …
Option -orientation()- in legend()Dear all, why the option orientation(vertical), listed among the options that can be used in legend…
Subscribe to:
Post Comments (Atom)
0 Response to How can I label the values of the bars within a twoway bar graph?
Post a Comment