ls("package:ggplot2", pattern="^scale_fill.+") # [1] "scale_fill_binned" "scale_fill_brewer" "scale_fill_continuous" # [4] "scale_fill_date" "scale_fill_datetime" "scale_fill_discrete" # [7] "scale_fill_distiller" "scale_fill_fermenter" "scale_fill_gradient" #[10] "scale_fil...
2. p + geom_raster() + scale_fill_continuous(low = "#000099", high = "#FF0000", space = "Lab") 1. 2. 连续填充色设置函数还有scale_fill_gradient,scale_fill_gradient2和 scale_fill_gradientn,其中scale_fill_gradient的用法和作用和scale_fill_continuous完全相同(其实ggplot2早期版本连续颜色标尺...
(color = "SUHIIA") + ggplot2::scale_x_continuous(limits = c(113, 113.5)) + #老城区 #ggplot2::scale_x_continuous(limits = c(112.5, 113.8)) + #全部城区 ggplot2::scale_y_continuous(limits = c(22.4, 23.6)) + ggplot2::ggtitle("Plant richness of the American ecoregions") + ggplot...