How can I remove the x-axis labels for age group and health authority under the ‘Low risk’ part of the graph? (and keep these labels under the ‘Higher risk’ part of the graph)
(Age group labels for low risk are under plotregion1/grpaxis[1])
(Health region labels for low risk are under plotregion1/supaxis[1])
graph bar (mean) vacc_100 [pw=wts_m] if bc==1 ///
, ///
over(age_cov, label(labsize(tiny) angle(45))) ///
over(ha, relabel(3 "Van Coastal" 4 "Island") label(labsize(small))) ///
by(highrisk, col(1) ///
note("Source: CCHS 2011-2012 PUMF") ///
noedgelabel) ///
ytitle(Vaccinated (%), size(medsmall)) ///
ylabel(20(20)100, angle(horizontal) labsize(medsmall)) ///
yscale( range(0 1)) ///
blabel(bar, position(inside) format(%9.0f) color(white) size(tiny)) ///
graphregion(lcolor(black) fcolor(white)) ///
plotregion(fcolor(white)) ///
name(vacc_age_risk_ha_BC, replace) ///
saving("$cchs_2011_12_output\Vacc v age risk HA BC.gph", replace)
Thanks!
David Puddicombe
BC Centre for Disease Control
(Age group labels for low risk are under plotregion1/grpaxis[1])
(Health region labels for low risk are under plotregion1/supaxis[1])
graph bar (mean) vacc_100 [pw=wts_m] if bc==1 ///
, ///
over(age_cov, label(labsize(tiny) angle(45))) ///
over(ha, relabel(3 "Van Coastal" 4 "Island") label(labsize(small))) ///
by(highrisk, col(1) ///
note("Source: CCHS 2011-2012 PUMF") ///
noedgelabel) ///
ytitle(Vaccinated (%), size(medsmall)) ///
ylabel(20(20)100, angle(horizontal) labsize(medsmall)) ///
yscale( range(0 1)) ///
blabel(bar, position(inside) format(%9.0f) color(white) size(tiny)) ///
graphregion(lcolor(black) fcolor(white)) ///
plotregion(fcolor(white)) ///
name(vacc_age_risk_ha_BC, replace) ///
saving("$cchs_2011_12_output\Vacc v age risk HA BC.gph", replace)
Thanks!
David Puddicombe
BC Centre for Disease Control
Comment