Re: [R] plot only partial plots

2003-09-03 Thread Spencer Graves
I don't know about doing it all on the same line, but have you considered something like the following: DF <- data.frame(x=1:9, y=1:9, z=rep(1:3, 3)) plot(DF$x, DF$y, type="n") sel <- (DF$z>2) text(DF$x[sel], DF$y[sel], letters[1:3]) hope this helps. spencer graves Monica Palaseanu-Lovejoy wrot

[R] plot only partial plots

2003-09-03 Thread Monica Palaseanu-Lovejoy
Hi everybody, I would like to plot only a part of a data frame, and identify the IDs for all the points with values higher than a certain value. I will try to be more explicit: I did a qqnorm plot of my data. It is obvious from the plot that all the sample quantiles which are in Theoretical