【发布时间】:2019-11-25 01:29:42
【问题描述】:
我必须使用 R 中 fields 包中的 image.plot 函数来绘制矩阵(我通常更喜欢使用 raster 包)。我无法增加图例中的字体大小以便以适当的分辨率导出绘图。
library(fields)
mat <- matrix(data = rnorm(500,55.3, 103), nrow = 250, ncol = 250)
image.plot(mat, legend.cex = 12) # nothing
如果我使用额外的参数(如legend.args),我观察到我只增加了图例标题的标签。
【问题讨论】: