R语言中 par(mar = 。。。) par(mai = 。。。)

 

par(mar = ...)、par(mar = ...)均为调整绘图区域与边框之间的距离

001、

par(mfrow = c(2, 2))
plot(1:10, cex = 3, col = "red", pch = 19)
par(mar = c(7, 7, 7, 7))
plot(1:10, cex = 3, col = "blue", pch = 19)
par(mai = c(2, 2, 2, 2))
plot(1:10, cex = 3, col = "purple", pch = 19)

 

posted @ 2022-08-29 15:35  小鲨鱼2018  阅读(426)  评论(0编辑  收藏  举报