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 identify if each ID has two unique values for a variableHello! I am somewhat new to Stata and have tried to find an answer to this on other threads but have…
IV estimation - panel data 2SLS and LIML model are giving me the same exact results, when i am trying to control for weak instruments.When i ran my panel IV estimation, using xtivreg2, I saw my instruments were very weak and thus trie…
ols interactions (is the effect of age on seius different for male and female?)Clyde Schechter is the effect of age on seius different for male and female? reg seius i.female##…
drop observationsHello! I am new in STATA. Please help me with this issue I need to drop observations with "choice" …
Query on teffects psmatchI am running propsensity score matching for an evaluation project, but due to confidentiality, do no…
Subscribe to:
Post Comments (Atom)
0 Response to change the color of bars -BOXPLOT
Post a Comment