Not sure what you want to do because all your coefficients are almost identical:
> coef(model.mx)
(Intercept) x
1 54.88302 19.18001
2 54.88298 19.18000
3 54.88299 19.18000
4 54.88299 19.18000
5 54.88302 19.18001
6 54.88300 19.18000
7 54.88301 19.18000
8 54.88300 19.18000
9 54.88299 19.18000
10 54.88300 19.18000
Maybe your real data gives you more different results. If it's the case, I would use abline
inside a mapply
call:
with (dtfr, plot(x, y))
mapply(abline,a=coef(model.mx)[,1],b=coef(model.mx)[,2], col=1:10)
Here's the result. Since all coeffcients are almost the same, the lines are plotted on top of each other. You only see the last one.