Treynor Ratio

TR = Rp-Rf/Beta . How this can be slope of SML if Y axis is Rp and X axis is Beta itself? Rp=Rf+Beta(Rm-RF) this is y=C+mx clearly m=Rm-RF Pleasy Clarify?

m= (Rp-Rf)/Beta = (Rf + Beta*(Rm -Rf) -Rf)/Beta= Rm-RF