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
 reg3 and xtabond2
Dear Statalist,
I have estimated the 3SLS model below.
reg3 (eq1: y1 = x1 x2 x3 x4 x5 dum1 dum2 d… reg3 and xtabond2
Dear Statalist,
I have estimated the 3SLS model below.
reg3 (eq1: y1 = x1 x2 x3 x4 x5 dum1 dum2 d…
 factor variables may not contain noninteger valuesHi,
I am trying to run the following regression:
reg logchildwage logheadwage POOR age NPERSONS URB… factor variables may not contain noninteger valuesHi,
I am trying to run the following regression:
reg logchildwage logheadwage POOR age NPERSONS URB…
 Remove margin below X-titleHi Statalist,
I need to embed a local polynomial graph inside a LaTeX document. In order to keep th… Remove margin below X-titleHi Statalist,
I need to embed a local polynomial graph inside a LaTeX document. In order to keep th…
 Treatment and Period omitted because of collinearity (DiD)Dear Statalist Community,
I am hopeful that you help me on this one as you did before.
I have a mis… Treatment and Period omitted because of collinearity (DiD)Dear Statalist Community,
I am hopeful that you help me on this one as you did before.
I have a mis…
 re-arrange dataHi,
I have this type of table in Stata:
industry_id
period_1
period_2
sales_1
sales_2
11
1
0
10… re-arrange dataHi,
I have this type of table in Stata:
industry_id
period_1
period_2
sales_1
sales_2
11
1
0
10…
Subscribe to:
Post Comments (Atom)
0 Response to change the color of bars -BOXPLOT
Post a Comment