我想删除栅格数据集的"levelplot“图中的框框。不知道该怎么做。
library(raster)
library(rasterVis)
f <- system.file("external/test.grd", package="raster")
r <- raster(f)
s <- stack(r, r+500, r-500)
levelplot(s, contour=TRUE)
levelplot(s)
levelplot(s,box=FALSE,axes=FALSE) # It doesn't work.发布于 2014-06-12 06:24:12
编辑:添加了的地物
?wireframe的最后一个示例描述了您想要实现的目标
levelplot(s, contour = TRUE, par.settings = list(axis.line = list(col = "transparent")),
scales = list(col = "black"))`

如果要删除条带背景和颜色:
levelplot(s, contour=TRUE, par.settings = list(axis.line = list(col = "transparent"),
strip.background = list(col = 'transparent'),
strip.border = list(col = 'transparent')),
scales = list(col = "black"))`

https://stackoverflow.com/questions/24172571
复制相似问题