R语言中基础绘图par(oma)选项的作用
001、par(oma)选项的作用是调整外框线距离绘图边界的距离。
par(oma = c(1, 1, 1, 1)) plot(1:10, main = "oma = 1", cex.main = 3) box(which = "figure", lwd = 5) box(which = "plot", lwd = 5)
par(oma = c(5, 5, 5, 5)) plot(1:10, main = "oma = 5", cex.main = 3) box(which = "figure", lwd = 5) box(which = "plot", lwd = 5)