[R] hcl()

Robin Hankin r.hankin at noc.soton.ac.uk
Fri Jun 24 10:55:11 CEST 2005


Hello everyone

I am struggling with hcl().

It says on the manpage that   "240 yields blue".

With this:

plot(1:50,pch=16,col=hcl(h=240, c=50, l=1:50))

I get mostly blue, but also some red, dots.  Note that h=240 
throughout.  If 240 is blue,
how come there's a red dot there?  Or is it just my monitor?

Can some colour expert help me on this?

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743




More information about the R-help mailing list