Hi all,
Would anyone know whether there is a similar over () function such as with the graph bar (asis) command that can be used with the twoway stacked bar command?
I have a created a stacked bar graph over weeks in the x axis and would like to also include months in the x axis as well.
graph twoway (bar AGE_N_0_4 week,color(black) lcolor(black)lwidth(medthick)) (rbar AGE_N_0_4 A2 axis ,color(gs7*0.9) lcolor(black)lwidth(medthick)) (rbar A2 A3 week,color(gs7*0.4) lcolor(black)lwidth(medthick)) (rbar A3 A4 week,color(dimgray) lcolor(black)lwidth(medthick))(rbar A4 A5 week,color(white) lcolor(black)lwidth(medthick)) (line THREE_WEEK_AVERAGE_COUNT week, lpattern(solid)color (red) recast(connected) msymbol(O))(line TWO_SD_THREE_WEEK_COUNT week, lpattern(dash)color (blue) recast(connected) msymbol(x))(line HISTORICAL_AGERAVE week, lpattern(dash)color (gray) recast(connected) msymbol(s)),xlabel(1(2)62,valuelabel angle(90) labsize(*1.0)tick)xtick(1(1)62) ytitle("X", size(small) height(4)) ylabel(,nogrid)graphregion(color(white)) ylabel(0(1)10, labsize(*1.0)angle(0))
0 Response to Twoway graph X axis
Post a Comment