R语言画图常用参数
plot(x,xlab = "degree",ylab = "number of nodes",main = "mRNA degree distribute",lwd = 5,col = "darkred",xlim = c(1,21),bty = "n",ylim = c(0,200),lend = 1)
x:待画图数据
xlab,ylab:分别是x、y轴标签
main:标题
lwd:线段宽度(line width)
col:线段颜色
xlim,ylim:分别是x、y轴范围
bty:图边框形状(“o”、“l”、“7”、“c”、“u”、“]”、“n”。其中"n"为无边框)
lend:线段末端形状(取值范围0,1,2。0:"round" mean rounded line caps;1:"butt" mean butt line caps;2:"square" mean square line caps)