Displaying 1 result from an estimated 1 matches for "grassgreen".
2009 May 21
1
Colour Schemes
...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 exist. There's stuff in plotrix, colorspace,
RColorBrewer etc for creat...