[R] hcl()

From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>
Date: Fri 24 Jun 2005 - 18:55:11 EST

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

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Jun 24 18:58:47 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:02 EST