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
Identifying the newly employed receptionist and the waitresses who joined the enterprise after the new receptionist assumed officeHi, I have the follwoing sample: Code: ssc install dataex clear input int year str6 staff_id str5 h…
posterior means for crossed random effects from logistic random intercept modeldear statalist members, I am trying to estimate the posterior means of two crossed random effects f…
Multilevel ModelsHi; I am runing runing linear model with four levels. I have not been able to find out what the mean…
Creating Lagged variables with repeated valuesDear all, I wanted help in creating lagged variables when there are repeated values in the dataset.…
Highly Left Skewed variableHello, I wanted to run a panel logistic regression with dependent variable Y (0, 1) and an explanat…
Subscribe to:
Post Comments (Atom)
0 Response to Twoway graph X axis
Post a Comment