* Graphing Percents sysuse auto set scheme s1mono graph set window fontface "Times New Roman" graph bar, over(rep78) title("graph bar") name(g1) graph bar (percent), over(rep78) title("graph bar (percent)") name(g2) graph hbar, over(rep78) title("graph hbar") name(g3) graph dot, over(rep78) title("graph dot") name(g4) graph combine g1 g2 g3 g4, title("Percents") name(Percents) graph drop g1 g2 g3 g4 tabulate rep78 tabulate rep78, plot graph bar, over(rep78) asyvars title("asyvars") name(g1) graph bar, over(rep78) asyvars stack legend(off) title("asyvars stack") name(g2) *graph hbar, over(rep78) asyvars stack graph hbar, over(rep78) asyvars stack legend(off) xsize(5.5) ysize(2) /// blabel(bar, position(inside) format(%5.2f)) title("graph hbar, asyvars stack") name(g3) graph pie, over(rep78) plabel(_all percent, format(%5.2f)) legend(off) title("graph pie") name(g4) graph combine g1 g2 g3 g4, title("More Percents") name(Morepercents) ysize(5.5) graph drop g1 g2 g3 g4 graph drop _all graph set window fontface default set scheme s2color