[R] How to plot with different colours

hadley wickham h.wickham at gmail.com
Sun Nov 2 15:15:23 CET 2008


Hi Carlos,

I'd strongly urge to reconsider your colour choices - 7-10% of males
are red-green colour blind and it will be difficult for them to tell
the difference between the high and low values.

Hadley

On Sat, Nov 1, 2008 at 11:58 PM, Carlos Morales
<carlosmoralesdiego at yahoo.es> wrote:
> Hello everyone,
>
> I'm trying to plot 3600 points and my idea is if this value is higher than 0.35 then this point must appear in green colour, if it's smaller than -0.35 then values must appear in red and if values are between -0.35 and 0.35 they must be in yellow. I'm thinking and I'm trying many things but I don't achieve it. Any idea?.
>
> Thanks so much
> Carlos Morales Diego
>
>
>
>
> ______________________________________________
> 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.
>



-- 
http://had.co.nz/



More information about the R-help mailing list