I am trying to combine two (hopefully more) marginsplot using combomarginsplot. My code is the following:
I would like to specify the line color and CI color for each of the marginsplot but it seems that I can only specify the following once
Is it possible to specify the colors for the second plot and its CI as well?
Thank you!
Code:
xtreg yvar1 c.xvar##c.xvar margins, at(xvar = (-14.5(2)33.3)) saving(file1, replace) xtreg yvar2 c.xvar##c.xvar margins, at(xvar = (-14.5(2)33.3)) saving(file2, replace) combomarginsplot file1 file2, recast(line) recastci(rarea) plotopts(lcolor(dknavy)) ci1opts(color(ltblue)) /// xlabel(#3, nogrid)ylabel(, nogrid) graphregion(color(white)) labels("YVAR1" "YVAR2")
Code:
plotopts(lcolor(dknavy)) ci1opts(color(ltblue))
Thank you!
Comment