I have a rasterstack
class : RasterStack
dimensions : 47, 89, 4183, 6 (nrow, ncol, ncell, nlayers)
resolution : 0.5, 0.5 (x, y)
extent : 60.75, 105.25, 15.75, 39.25 (xmin, xmax, ymin, ymax)
crs : NA
names : VegC.1, layer.1, VegC.2, layer.2, VegC.3, layer.3
min values : 0.00000, -11.52596, 0.00000, -11.51896, 0.00000, -11.49996
max values : 21.14100, 16.52118, 18.85200, 16.69225, 23.08900, 20.25300
I plot the stack with same color scheme. However I want the 0 value to be white. i use the colorscheme
cols <- inlmisc::GetColors(scheme = "BuRd",n = 256)
But the plot shows blue on the zero value. Is there an easy way for fixing color scale for raster stacks?