如何在R中更改水平图中光栅和标题之间的垂直间距?例如,对于额外的2行空间,我已经尝试过了
r <- raster::raster( matrix(runif(9),3,3) )
rasterVis::levelplot(r, margin=FALSE, main=list('My plot',line=2) )发布于 2018-10-26 09:45:14
一种简单的方法是在标题中添加空行
rasterVis::levelplot(r, margin=FALSE, main=list('My plot\n'))

发布于 2018-10-26 09:54:44
rasterVis::levelplot(r, margin=FALSE, main=list('My plot',y=grid::unit(-2, "mm")))https://stackoverflow.com/questions/53000202
复制相似问题