R语言中asp参数的作用
1、asp参数用于定义绘图区域纵轴与横轴的比例
par(mfrow = c(2, 2)) plot(1:10, cex = 3, pch = 16, main = "asp = 1", cex.main = 3, asp = 1) plot(1:10, cex = 3, pch = 16, main = "asp = 2", cex.main = 3, asp = 2) plot(1:10, cex = 3, pch = 16, main = "asp = 4", cex.main = 3, asp = 4) plot(1:10, cex = 3, pch = 16, main = "asp = 8", cex.main = 3, asp = 8)
绘图效果: