[R] Highlight Points in a Plot
SamT
sam.tischfield at gmail.com
Mon May 3 22:40:34 CEST 2010
Thanks David, the text() worked for me. I wasnt able to correctly use plot
with points and the ecdf function.
David Winsemius wrote:
>
>
> Yes, ecdf() which returns a function
>
> points(c(50,55,60,65), ecdf(1:1000)( c(50,55,60,65) ), col=c("red",
> "green", "yellow", "blue") )
>
> Draws colored points.
>
> Could also use text() with same coordinates provided by a
> "highlightvector" and ecdf(datavector)(highlightvector).
>
> --
> David.
>> --
>> 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.
>>
>> ______________________________________________
>> R-help at 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.
>
> David Winsemius, MD
> West Hartford, CT
>
> ______________________________________________
> R-help at 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.
>
>
--
View this message in context: http://r.789695.n4.nabble.com/Highlight-Points-in-a-Plot-tp2124224p2124597.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list