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
Interpret interaction term of two continuous variables after ordered logit estimation.Hi Statalist members, I'm running the ordered logit model and find struggling how to interpret the …
Balanced vs. Unbalanced Panel Data for pooled time series cross sectionDear Stata Community, I need to decide whether I want to use an unbalanced or a balanced panel data…
Read dta file from line n to endUsing this excellent advise, I am running a loop to read in a 60GB dta file and save it in chunks (a…
inputting intraday data from bloombergHello, I have been trying to transform intraday data (downloaded from Bloomberg into an excel file)…
Average of sales of x's which have average K/R ratioDear All, I am trying to calculate the average value of sales of firms which have their Capital/Rev…
Subscribe to:
Post Comments (Atom)
0 Response to change the color of bars -BOXPLOT
Post a Comment