How can I create raster plots with the same colour scale in R

后端 未结 6 841
盖世英雄少女心
盖世英雄少女心 2021-01-31 10:36

I\'m creating some maps from raster files using the \"raster\" package in R. I\'d like to create comparison rasters, showing several maps side by side. It\'s important for this

6条回答
  •  走了就别回头了
    2021-01-31 10:51

    It did not work for me. I used this script to split the color scale and select the one more suitable according to my data:

    plot(d, col=rev(heat.colors(8, alpha = 1)), breaks = seq(0, 0.40, by = 0.05))
    

提交回复
热议问题