I am using Stata16 and would like to produce a multicoloured coefplot from a matrix that contains means, p25 and p75 from a tabstat command:
Code:
tabstat dom1-dom9, by(cluster_num) stat(mean p25 p75) save matrix c1 = r(Stat1)
Code:
coefplot matrix(c1[1]), /// ci((2 3)) /// msymbol(x) msize(large) /// ylabel(, labsize(small)) xlabel(, labsize(small)) xlab(0(20)100) xsca(range(0(20)100)) /// graphregion(color(white) fcolor(white) lcolor(white) ilcolor(white) ifcolor(white)) /// title("Cluster 1", /// size(small)) name("scores_cluster_1", replace)
Thanks,
Jane.
0 Response to colours for coefplot with matrix
Post a Comment