Hi to everybody,
I have done for the first time "Box plot by group with data point"
By default, Stata gives me graphs with the same colors. Does anyone know how to change the color of the boxes? I would need 9 different colors (one for Pups_a, one colour for Pups_b ecc)
below the syntax I wrote
twoway rbar lqt med Contesto_num, barw(.5) fcolor(gs12) lcolor(black) || ///
rbar med uqt Contesto_num, barw(.5) fcolor(gs12) lcolor(black) || ///
scatter Complex Contesto_num, graphregion(fcolor(gs15)) mcolor(black) msymbol(Oh) ///
legend(off) xlabel( 1 ".Pups_a" 2 ".Pups_b" 3 ".Pups_c" 4 ".aleF_a" 5 ".aleF_b" 6 ".aleF_c" 7 "FF_a" 8 "FF_b" 9 "FF_a" ) ///
ytitle(Complex score)
Thanks to everybody
Related Posts with change the color of bars -BOXPLOT
How to deal with unequal variance - mixed effects linear regressionHello, I have run a linear mixed model to test the within-subject difference in activity behaviours…
Loop over variablesinput double(month202001 month202002 month202003 month202004 month202005 month202101 month202102 mon…
Error 639Hi I am trying to run a do file and getting the following error message I have checked and there is…
xtabond2 vs xtdpdgmmHello, I'm trying to study the spillover effect of trading with Arab Spring countries on economic gr…
delete observations according to some rulesDear statalist, I have two sets of data and I append them together. The first set consists of a ser…
Subscribe to:
Post Comments (Atom)
0 Response to change the color of bars -BOXPLOT
Post a Comment