Re: [R] unable to interactively label curves on a plot

2007-10-20 Thread Frank E Harrell Jr
Quin Wills wrote: > Hello all > > Simple question for the gurus. I'm trying to interactively label curves > on a single plot. The labcurve() function from Hmisc seems like the way > to do this (?). I just can't seem to get it to work. Toy example: > > > x <- 1:10 > > y1 <- x^2 > > y2 <- 2*x

[R] unable to interactively label curves on a plot

2007-10-19 Thread Quin Wills
Hello all Simple question for the gurus. I'm trying to interactively label curves on a single plot. The labcurve() function from Hmisc seems like the way to do this (?). I just can't seem to get it to work. Toy example: > x <- 1:10 > y1 <- x^2 > y2 <- 2*x > plot(x,y1) > lines(x,y2) > labc