Hello,
first post so apologies if something similar has been asked before.
I'm investigating the relationship between intergroup ethnic contact at the workplace and tolerance with educational years as interaction.

My X (intergroup contact) has after recoding 3 levels of contact (no contact (baseline) some contact and a lot of contact). I'd like to produce two marginsplots displaying the effect of contact with educational years interacting. One marginsplot displaying the effect of some contact at different levels of education and another displaying the effect of a lot of contact at different levels of education.

My regression looks like this:
xtreg tolerance i.RCimgclg##c.eduyrs i.gndr agea i. empl i.domicil hincfel lrscale, fe robust

So far my marginsplot looks like picture attatched

https://imgur.com/a/2nDpJbc

Thank you in advance