Plotting a line and plotting a more general function are two very different things. If I had known that was your objective, I would probably have pointed you here:
I really should update that in light of some improvements, though - the axis mark, in particular.