共 3 篇文章 |
|
颜色> plot(1:10,col=''red'')> barplot(1:5,col=RColorBrewer::brewer.pal(n = 5,name = ''Set2''))> points(rep(3,5),pch=20,cex=3,col=''orange'')> barplot(1:5,col=RColorBrewer::brewer.pal(n = 5,name = ''Set2''))> points(rep(3,5),pch=20,cex=3,col... 阅53 转0 评0 公众公开 17-09-01 21:22 |
绘图参数。更改图形参数有两种方式,一种是直接在绘图函数中设置参数,这种方式只影响当前绘图函数,但是不是所有的参数都能够通过这种方式设置;opar <- par()#备份原来的绘图参数。cex控制缺省状态下符号和文字大小的值;另外,cex.axis控制坐标轴刻度数字大小,cex.lab控制坐标轴标签文字大小,cex.main控制标题文字大小,cex.sub控制副标题文... 阅2 转自天剑无华 公众公开 17-08-13 22:46 |
颜色> plot(1:10,col=''red'')> barplot(1:5,col=RColorBrewer::brewer.pal(n = 5,name = ''Set2''))> points(rep(3,5),pch=20,cex=3,col=''orange'')> barplot(1:5,col=RColorBrewer::brewer.pal(n = 5,name = ''Set2''))> points(rep(3,5),pch=20,cex=3,col... 阅192 转2 评0 公众公开 17-08-13 22:46 |