Skip to content
Prev 174774 / 398506 Next

Display Equation on plot

On 3/24/2009 12:50 PM, Douglas M. Hultstrand wrote:
mtext(bquote( y == .(slope) * x + .(intercept)), side=1, line=4)

will put it in the bottom margin.  Use text() with appropriate 
coordinates to put it in the plot area instead.

Duncan Murdoch