打印多个光栅时启用x轴和y轴值leveplot R
我希望在以下示例中启用x轴和y轴值(即标记空记号):打印多个光栅时启用x轴和y轴值leveplot R,r,maps,raster,axis-labels,levelplot,R,Maps,Raster,Axis Labels,Levelplot,我希望在以下示例中启用x轴和y轴值(即标记空记号): library(rasterVis) s <- stack(replicate(6, raster(matrix(runif(100), 10)))) levelplot(s, layout=c(3, 2), index.cond=list(c(1, 3, 5, 2, 4, 6))) 库(rasterVis) s库(rasterVis) slevelplot(s,layout=c(3,2),index.cond=list(c(1,3,
library(rasterVis)
s <- stack(replicate(6, raster(matrix(runif(100), 10))))
levelplot(s, layout=c(3, 2), index.cond=list(c(1, 3, 5, 2, 4, 6)))
库(rasterVis)
s库(rasterVis)
slevelplot(s,layout=c(3,2),index.cond=list(c(1,3,5,2,4,6)),scales=list(alternative=FALSE))
也会起作用。@jbaums是的。只是想展示更多的控件。
library(rasterVis)
s <- stack(replicate(6, raster(matrix(runif(100), 10))))
x.scale <- list(font=10,
fontface=2,
alternating=1)
y.scale <- list(font=10,
fontface=2,
alternating=1)
levelplot(s, layout=c(3, 2), index.cond=list(c(1, 3, 5, 2, 4, 6)),
scales = list(x=x.scale, y=y.scale))