Search this site
Embedded Files
Skip to main content
Skip to navigation
Wolf-Fabian Hungerland
Homepage
Biography
Research
Presentations
WEHC
Stata
Data
Links
Wolf-Fabian Hungerland
Homepage
Biography
Research
Presentations
WEHC
Stata
Data
Links
More
Homepage
Biography
Research
Presentations
WEHC
Stata
Data
Links
A simple bar chart
#delimit ;
graph
hbar
$DATA
, over($Individual, sort($DATA) desc axis(noline))
yl(, nogrid) ysc(off)
ysize($HEIGHT)
xsize($WIDTH)
blabel(bar, format(%15.`DECIMALS'f))
graphregion(color(white)) bgcolor(none) plotregion(lcolor(none))
scheme(s1color)
bar(1, fcolor($MAINCOLOR) lwidth(0))
/* Optional - vertical line:
yline($MEAN) */
text(5 5 "$TOTALDES" "$TOTAL", just(left));
graph export
Bars_allequal.$FILEFORMAT, as($FILEFORMAT) replace
#delimit cr
GitHub
Available colors
Credits:
this blog entry
, the color map itself was produced with
ssc install hue
hue
Google Sites
Report abuse
Google Sites
Report abuse