Dear Stata-Listers,
i created a statplot with a few 0 1 coded variables, showing the percentage of 1.
I want to have a descending order, except having the Variable f13_SQ009_100 as last bar, is that possible?
Here is my code:
splitvarlabels f13_SQ001_100 - f13_SQ009_100 , length(40)
statplot f13_SQ001_100 - f13_SQ009_100, varopts(relabel(`r(relabel)') sort(1) descending label(labsize(2.3))) ///
ylabel( 0 "0%" 20 "20%" 40 "40%" 60 "60%" 80 "80%" 100 "100%") ///
blabel(bar, pos(inside) size(2.7) color(white) format(%2.0f)) ///
yline(100, lstyle(grid) lwidth(.18) lcolor(gs8)) ytitle("") ///
title("Welche dieser Tätigkeiten gehören zu Ihrem Aufgabenspektrum?", size(3.1)) ///
note("Quelle: xxx, eigene Berechnungen, n= 180.", color("63 70 74")).
i created a statplot with a few 0 1 coded variables, showing the percentage of 1.
I want to have a descending order, except having the Variable f13_SQ009_100 as last bar, is that possible?
Here is my code:
splitvarlabels f13_SQ001_100 - f13_SQ009_100 , length(40)
statplot f13_SQ001_100 - f13_SQ009_100, varopts(relabel(`r(relabel)') sort(1) descending label(labsize(2.3))) ///
ylabel( 0 "0%" 20 "20%" 40 "40%" 60 "60%" 80 "80%" 100 "100%") ///
blabel(bar, pos(inside) size(2.7) color(white) format(%2.0f)) ///
yline(100, lstyle(grid) lwidth(.18) lcolor(gs8)) ytitle("") ///
title("Welche dieser Tätigkeiten gehören zu Ihrem Aufgabenspektrum?", size(3.1)) ///
note("Quelle: xxx, eigene Berechnungen, n= 180.", color("63 70 74")).
Comment