From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>

Date: Tue 24 May 2005 - 21:07:58 EST

Date: Tue 24 May 2005 - 21:07:58 EST

Hi.

f <- function(z){hcl(h=100*Re(z),l=100*Im(z))}

I want to draw z in terms of the colour defined by f():

x <- runif(1000) y <- (1:1000)/10 g <- function(x){hcl(h=80*x,l=(1:1000)/10,c=300)}plot(x,y,col=g(x),pch=16)

[note that one cannot draw nontrivial "contour lines" joining points
of identical colours on this

plot: top left to lower right goes from pink to black; top right to low
left goes from yellow to reddy orange]

It'd be nice to make image() do what I want. Anyone?

-- 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 https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.htmlReceived on Tue May 24 21:12:03 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:32:01 EST
*