Hello,

After the combo margins-marginsplot, I would like to change the order of the categories of my x-axis.
See example below: suppose I would like to plot category 3 first, then 2, 5, 4 and 1 ... is there a way to do this?

Code:
sysuse auto
reg price mpg i.rep78
margins rep78
marginsplot, plotopts(connect(none))

Graph.gph

Thank you,
Mike