Dear All,
I want to plot a scatter and rcap plots for a categorical variable taking 3 categories. I use the following code:

But, I want the black and the blue plots to be placed *adjacent* to each other (slightly staggered from each other but still both roughly hovering over I) rather than the exact same X axis value. This will avoid the black and the blue lines from partially overlapping each other for category III. How can I do that? I will be very grateful for you help.
Many thanks,
Sumedha.
I want to plot a scatter and rcap plots for a categorical variable taking 3 categories. I use the following code:
Code:
twoway (scatter esi_b type if counter==1, msym(s) mcol(black)) || /// (rcap esi_lci esi_uci type if counter==1, lcol(black)) || /// (scatter nonesi_b type if counter==1, msym(s) mcol(ltblue)) || /// (rcap nonesi_lci nonesi_uci type if counter==1, lcol(ltblue)), /// yline(0, lcolor(cranberry)) /// legend(off) /// xlabel( 1 "I" 2 "II" 3 "III") /// xtitle("")
But, I want the black and the blue plots to be placed *adjacent* to each other (slightly staggered from each other but still both roughly hovering over I) rather than the exact same X axis value. This will avoid the black and the blue lines from partially overlapping each other for category III. How can I do that? I will be very grateful for you help.
Many thanks,
Sumedha.
Comment