001、frame.plot = T参数绘图 设置是否显示图边框
par(mfrow = c(1,2)) plot(1:10, cex = 3, pch = 19, frame.plot = T, main = "111") ## 显示图边框 plot(1:10, cex = 3, pch = 19, frame.plot = F, main = "222") ## 不显示图边框
。
002、type设置散点输出类型
par(mfrow = c(3,3)) plot(1:10, cex = 3, pch = 19, type = "p", main = "ppp") plot(1:10, cex = 3, pch = 19, type = 'l', main = "lll") plot(1:10, cex = 3, pch = 19, type = 'b', main = "bbb") plot(1:10, cex = 3, pch = 19, type = 'c', main = "ccc") plot(1:10, cex = 3, pch = 19, type = 'o', main = "ooo") plot(1:10, cex = 3, pch = 19, type = 'h', main = "hhh") plot(1:10, cex = 3, pch = 19, type = 's', main = "sss") plot(1:10, cex = 3, pch = 19, type = 'S', main = "SSS") plot(1:10, cex = 3, pch = 19, type = 'n', main = "nnn")
003、bty参数设置框线的类型
par(mfrow = c(3,3)) plot(1:10, cex = 3, pch = 19, bty = "o", main = "ooo") plot(1:10, cex = 3, pch = 19, bty = "n", main = "nnn") plot(1:10, cex = 3, pch = 19, bty = "l", main = "lll") plot(1:10, cex = 3, pch = 19, bty = "7", main = "777") plot(1:10, cex = 3, pch = 19, bty = "c", main = "ccc") plot(1:10, cex = 3, pch = 19, bty = "u", main = "uuu") plot(1:10, cex = 3, pch = 19, bty = "]", main = "]]]")
004、
标签:选项,plot,10,19,pch,参数,绘图,main,cex From: https://www.cnblogs.com/liujiaxin2018/p/18226327