Skip to content
Prev 131170 / 398502 Next

color palette from red to blue passing white

see if this is what you need:

require(lattice)
x <- matrix(1:100,10)
levelplot(x,col.regions=colorRampPalette(c('dark red','white','dark blue')))
On Dec 3, 2007 5:41 PM, Linda Smith <lsmithingm at gmail.com> wrote: