powered by
Calls grDevices::rainbow() then base::rev()
grDevices::rainbow()
base::rev()
revrainbow(n = 256, ...)
Number of colors.
Passed to grDevices::rainbow().
Vector of colors, from blue to red.
There's not much to this. It's just rev(rainbow(start=0, end=2/3, ...)).
rev(rainbow(start=0, end=2/3, ...))
base::rev(), grDevices::rainbow()
# NOT RUN { x <- matrix(rnorm(100), ncol=10) image(x, col=revrainbow()) # }
Run the code above in your browser using DataLab