Re: [R] Graphing question(basic)

2012-08-14 Thread R. Michael Weylandt
col = "green4") > > Thanks, > Mohan > > -Original Message----- > From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] > Sent: Tuesday, August 14, 2012 11:49 AM > To: Mohan Radhakrishnan > Cc: r-help@r-project.org > Subject: Re: [R] Graphing question(

Re: [R] Graphing question(basic)

2012-08-13 Thread Mohan Radhakrishnan
ed") Thanks, Mohan -Original Message- From: R. Michael Weylandt [mailto:michael.weyla...@gmail.com] Sent: Tuesday, August 14, 2012 11:49 AM To: Mohan Radhakrishnan Cc: r-help@r-project.org Subject: Re: [R] Graphing question(basic) Hi Mohan, Your code isn't reproducible as is:

Re: [R] Graphing question(basic)

2012-08-13 Thread R. Michael Weylandt
Hi Mohan, Your code isn't reproducible as is: see http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example for more information on how you can help us help you. That said, I think you are looking for the ?segments function. Cheers, Michael On Tue, Aug 14, 2012 at

[R] Graphing question(basic)

2012-08-13 Thread Mohan Radhakrishnan
Hi, plot(xc, yc, type="l", ylim=c(0,50), xlim=c(0,50), lwd=2, xlab="M", ylab="seconds") abline(a=-think, b=cpustime, lty="dashed", col="red") abline( 2.2, 0, lty="dashed", col = "red") This draws a response time curve an asymptote and a horizontal line. How do I draw a line from the in