Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
打印多个光栅时启用x轴和y轴值leveplot R_R_Maps_Raster_Axis Labels_Levelplot - Fatal编程技术网

打印多个光栅时启用x轴和y轴值leveplot R

打印多个光栅时启用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,

我希望在以下示例中启用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)

s
levelplot(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))