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))
Related Posts with Twoway graph X axis
Drop missing observations at the end of each groupDear Statalist members, I would like to drop missing observations based on their position in the da…
ideas for: extracting all unique items, across all observations, from a string variable (itself being a list) - into a separate file?Dear statalist I am trying to figure out if there is a way to generate a datafile with all unique i…
Dynamic Panel Model for Large T and Small N.Hello Everyone, I am working on a problem in which I am assessing the risk of credit default in rel…
Interpreting triple interaction term with continuous variableDear stata community, I am struggling with the interpretation of Treated x Post x Log(1+Z) with Z b…
Substantive differences between "memory" and "size"What is the difference between "Size" and "Memory" in the Properties/Data tab of the main IDE window…
Subscribe to:
Post Comments (Atom)
0 Response to Twoway graph X axis
Post a Comment