The marginsplot generates the following chart:
sysuse auto, clear
logistic foreign mpg price rep78
margins , at(rep78=(1(1)5))
marginsplot

However the blue color of the following plot is different:
collapse (mean) price , by(rep78)
twoway line price rep78 , lcolor(blue)

Is there a way to make the blue color in the twoway similar to the first one coming from Stata's default for marginsplot, so that I can present all my charts in the same blue color?
sysuse auto, clear
logistic foreign mpg price rep78
margins , at(rep78=(1(1)5))
marginsplot
However the blue color of the following plot is different:
collapse (mean) price , by(rep78)
twoway line price rep78 , lcolor(blue)
Is there a way to make the blue color in the twoway similar to the first one coming from Stata's default for marginsplot, so that I can present all my charts in the same blue color?

Comment