View source: R/change.colors.R
change.colors | R Documentation |
This function returns a list of color breaks and colors with white color showing no change and warm and cold colors for the positive and negative changes, respectively.
change.colors(x)
x |
A Raster* object |
Chih-Lin Wei <chihlinwei@gmail.com>
# Changes in seafloor temperature at 2041 to 2060
col <- change.colors(subset(cimp5_2041_2060_ch,4))
mplot(subset(cimp5_2041_2060_ch,4), at=col$breaks, col.regions=col$col, main= expression(Temperature~(degree~C)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.