Hi all,

I'm trying to create a plot, similar to Stata's `coefplot`, but for marginal effects. I have a bunch of categorical variables, which look great on a coefplot, but I can't get the x axis to list marginal effects. In the same way, I can get margins to produce marginal effects, but I can't get marginsplot to produce all of the output. Some sample data is listed below of what I'm trying to do.

Code:
sysuse auto, clear
recode gear_ratio (2/2.50=1) (2.51/3=2) (3/4=3)
reg price  i.foreign i.gear_ratio
est store car1
Here I created a model and stored the estimates.

Code:
coefplot(car1)
coefplot works well, but the axis can't show marginal effects.

Code:
margins foreign gear
marginsplot,recast(scatter)
margins produces the marginal effects, but can't plot the results. Any way to get the best of both?

Any help would be appreciated!