我正在制作一个类似的情节:
library(raster)
r <- raster(volcano)
r2 <- raster(volcano)
r3 <- raster(volcano)
r4 <- raster(volcano)
opar = par(mfrow=c(2, 2), mar = c(0,0,2,0), oma = c(0,0,0,0))
asp = 0.8
print (plot(r, axes=F, legend=F, box=F, useRaster=F,asp = asp))
title(main = 'Time Series', line = 0.6, adj = 0.45)
print (plot(r2, axes=F, legend=F, box=F, useRaster=F,asp = asp))
title(main = 'Early Season', line = 0.6, adj = 0.45)
print (plot(r3, axes=F,legend=F, box=F, useRaster=F,asp = asp))
title(main = 'Peak Summer', line = 0.6, adj = 0.45)
print (plot(r4,legend=F, box=F, useRaster=F,asp = asp))
title(main = 'Late Season', line = 0.6, adj = 0.45)
print (plot(r, legend.only=TRUE, legend.width = 1, legend.shrink=0.75, smallplot = c(0.85,0.90, 0.04, 0.63), legend.args= list(text='Slope', side=2, font=3, line = 0.2, cex=2)))
我希望增加图例中字体的大小。在上文中,cex = 2
增加或减少&#34; Slope&#34;的大小。但是我想增加表示图中数值的数字的大小。
我的输出是: