search for: exactcolours

Displaying 1 result from an estimated 1 matches for "exactcolours".

2009 May 21
1
Colour Schemes
...0 and upwards is white. Or you could have a multivariate mapping where (x,y,z) -> (r,g,b,a) in complex and non-linear ways. I see a set of factory functions that return colour scheme mapping functions that map data to colours, so you'd do: # unique colour for each factor level scheme1 = exactColours(data$f,someColours) # data$f is a factor, someColours is a vector of colour values plot(data$x,data$y,col=scheme1(data$f)) # topological map colouring scheme2 = continuousColours(list(-1000,"blue",0,"sandYellow",400,"grassGreen",1000,"rockBrown",1000,&qu...