Displaying 1 result from an estimated 1 matches for "ymid".
Did you mean:
mid
2005 May 24
1
image() and non-well-ordered colours
Hi.
I want to use image() with colours that are indexed by two variables.
Indexing by one variable is easy:
library(colorspace)
x <- seq(from=0, to=1,len=30)
z <- outer(x,1i*x,"+")
image(Re(z),col=hcl(seq(from=0,to=100,len=15),c=100))
OK, so far so good. Now, I want the colour to be a more complicated
function
of z, in which both the hue and luminance change (thus the colours