search for: continuouscolour

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

Did you mean: continuouscolours
2009 May 21
1
Colour Schemes
...r 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,"white",10000)) # or something... plot(data$x,data$y,col=scheme2(data$height)) Now just because I can't find existing functions like this doesn't mean they don't...