The graph below is created using the four category variable race_mode_n and the binary variable concordant_race. Is it possible to change which colors are used for the different dimensions of concordant_race? E.g. is it possible to assign the level "Different Race IJ" the color black instead of blue?
Code:
marginsplot, xdimension(race_mode_n) /// plotdimension(concordant_race, /// elabels(1"Different Race IJ" 2"Same Race IJ")) /// horizontal recast(scatter) plotopts(msize(medlarge) msymbol(square)) scheme( stmono2) /// ciopts(msize(medlarge)) ytitle("Immigrant Race" , size(vlarge)) yscale(noline) /// ylabel(, labsize(vlarge)) xtitle(Predicted Release Rate) /// xtitle(, size(vlarge)) xscale(noline) /// xlabel(, labsize(vlarge)) title("Any Criminal Charge" " ", size(vlarge)) /// legend(size(vlarge) position(6)) plotregion(lcolor(black))
Comment