Hi averyone,
I am having a problem using nofill in a twoway bar. I need it because in my loop there are some Secretaries that didnt choose all the options in my survay.
when I use a grapgh bar I can use de nofill
graph bar if Secretaria=="MEDELLIN", nofill showyvars yvaroptions(label(labsize(small)) axis(lcolor(ltblue))) bar(1, fcolor(gold%70) lcolor(black)) yscale(lcolor(emerald%50) lwidth(vvvthin) lpattern(dot)) ymtick(, labels labsize(small)) title(MEDELLIN, size(vsmall)) note(Dimen, size(vsmall)) legend(off)
BUT when I use the twoway it doesnt let me and I need it
splitvallabels pregunta
twoway (bar q1_ pregunta if Secretaria=="MEDELLIN", nofill fcolor(gold%70) lcolor(gold) barwidth(0.7)) ///
(rcap uboundq1_ lboundq1_ pregunta if Secretaria=="MEDELLIN", lcolor(black%70) ) ///
, xlabel(`r(relabel)', labsize(small)) ylabel(, angle(horizontal)) xtitle("") ytitle("Porcentaje") title("Existe", size(msmall) color(black)) subtitle("MEDELLIN", size(small) color(black)) graphregion(fcolor(white)) legend(off)
Let me know if you know an option to nofill in a twoway bar
I am having a problem using nofill in a twoway bar. I need it because in my loop there are some Secretaries that didnt choose all the options in my survay.
when I use a grapgh bar I can use de nofill
graph bar if Secretaria=="MEDELLIN", nofill showyvars yvaroptions(label(labsize(small)) axis(lcolor(ltblue))) bar(1, fcolor(gold%70) lcolor(black)) yscale(lcolor(emerald%50) lwidth(vvvthin) lpattern(dot)) ymtick(, labels labsize(small)) title(MEDELLIN, size(vsmall)) note(Dimen, size(vsmall)) legend(off)
BUT when I use the twoway it doesnt let me and I need it
splitvallabels pregunta
twoway (bar q1_ pregunta if Secretaria=="MEDELLIN", nofill fcolor(gold%70) lcolor(gold) barwidth(0.7)) ///
(rcap uboundq1_ lboundq1_ pregunta if Secretaria=="MEDELLIN", lcolor(black%70) ) ///
, xlabel(`r(relabel)', labsize(small)) ylabel(, angle(horizontal)) xtitle("") ytitle("Porcentaje") title("Existe", size(msmall) color(black)) subtitle("MEDELLIN", size(small) color(black)) graphregion(fcolor(white)) legend(off)
Let me know if you know an option to nofill in a twoway bar
Comment