Hello, I would like to know how to display values for points in a plot funtion. For example,
plot( y=dat$a, x=dat$b, main="plot1", ylab="a", xlab="b", ylim=c(-10, 10), xlim=c(-10, 10), type = "p", pch=17, col=<vector of colors depending on the value of "b">, cex=1.5 ) How can I add a label to each of points here, if I have a list of values associated with the point. Thanks in advance. -- View this message in context: http://r.789695.n4.nabble.com/How-to-display-data-values-for-points-in-a-plot-tp2197796p2197796.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.