[S] Adding a diagonal 1:1 line to a scatter plot

Paul Schwarz (Paul.Schwarz@cornell.edu)
Wed, 13 May 1998 11:00:29 -0400


Hello,

I'm looking for an easy way to add a diagonal 1:1 line to an existing
scatter plot i.e., a line that extends from the lower left hand corner to
the upper right hand corner. I've been plotting the results of two
different methods of measuring the same variable against one another to
check for inconsistencies and bias. I've looked at both abline() and
lines(), but neither seem to offer an easy, elegant way to add such a line.

Thanks.

-Paul
Paul.Schwarz@Cornell.EDU

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news