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?
ITSA Error on Monthly Time Series Data with a Gap Due to Zero CountHi, I am currently looking at datasets from several hospitals to assess the impact of COVID-19 pande…
How to adjust (select or handpick) correlation matrix column(s) output to be esttab after estpost correlation table?Dear Statalisters, I would like to find out whether it is possible to select the specific column(s) …
Extract substring between nth and (n+1)th commas in a variableHow can I extract a substring between the nth and (n+1)th commas in a variable? For example, consid…
Combined plotsHi I recently came across a graph where instead of making bar graphs the authors/researchers had com…
Graphing variables with extreme valuesHi Statalist. I want to graph a number of financial variables, such as total household assets, and …
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