[R] Highlight Points in a Plot

SamT sam.tischfield at gmail.com
Mon May 3 21:16:24 CEST 2010


For simplicity we'll assume my code looks as follows

plot(ecdf(1:1000))

which produces a diagonal line.  

Ideally, I'd like to highlight or label in a different color certain X
values (say 50,55,60,65)

Is there a function which will allow me to do this? 
-- 
View this message in context: http://r.789695.n4.nabble.com/Highlight-Points-in-a-Plot-tp2124224p2124469.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list