Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread David Winsemius
On Jul 8, 2011, at 2:53 PM, rstudent wrote: I have only been using R for a very short time and I'm trying to learn. What information do you need to help me? As it says at the bottom of every message to Rhelp: " read the posting guide http://www.R-project.org/posting-guide.html " -- Vie

Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread VictorDelgado
rstudent, one solution could be given by spliting your graph in two parts: part_1 <- # take the desired four points subset # part_2 <- # all rest points not to label You will also need one vector with your names. I supose: list <- c("B13", "G13", "K14", "N14") So plot(part_1$x, part_1$y) text

Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread rstudent
I have only been using R for a very short time and I'm trying to learn. What information do you need to help me? -- View this message in context: http://r.789695.n4.nabble.com/How-to-label-specific-points-on-a-scatterplot-tp3654697p3654903.html Sent from the R help mailing list archive at Nabble

Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread David Winsemius
On Jul 8, 2011, at 2:02 PM, rstudent wrote: I can use the text() command to label all points but how do you specify only to label those four specific points on the graph? No context, no example, evidence that you read the rest of my message, no further response. -- View this message i

Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread rstudent
I can use the text() command to label all points but how do you specify only to label those four specific points on the graph? -- View this message in context: http://r.789695.n4.nabble.com/How-to-label-specific-points-on-a-scatterplot-tp3654697p3654777.html Sent from the R help mailing list arch

Re: [R] How to label specific points on a scatterplot

2011-07-08 Thread David Winsemius
On Jul 8, 2011, at 1:31 PM, rstudent wrote: Command I am using for the plot: plot(Raw[][Plate==101]~well[][Plate==101], xlab="Well", ylab="Raw", main="Plate 101") I only want to label points on the graph where well equals B13, G13, K14 and N14 with the name of the well. ?"%in%" ?text

[R] How to label specific points on a scatterplot

2011-07-08 Thread rstudent
Command I am using for the plot: plot(Raw[][Plate==101]~well[][Plate==101], xlab="Well", ylab="Raw", main="Plate 101") I only want to label points on the graph where well equals B13, G13, K14 and N14 with the name of the well. Thank you for your help. -- View this message in context: http://r.