Dear Statalist,

Does anyone know how to get rid of the vertical dotted lines in the plot below? I tried adding " dots(mcolor(bg))" to the end of the marginsplot command, but Stata would not allow that.

Thanks,

Jeremy

webuse nhanes2f, clear
logistic diabetes i.agegrp
margins, over(agegrp)
marginsplot, recast(dot) xdim(agegrp)