/ylab,xy标题
#main,主标题
#xlim,ylim,xy线段范围
#pch,点的类型(圆形、棱形等)
#col,线条的颜色
#cex,点的大小
2、分块展示
#预先在数据框中分块,2*2分块...par(mfrow=c(2,2),mar=c(3,3,2,1))
par(del) #画好需要关闭
3、箱型图
#箱型图
boxplot(x~y,data...=iris) #依据y分类,求得x的箱型图
4、条形图
#条形图
barplot(x,beside=T,col=rainbow) #beside=T代表邻接条形图,F代表堆砌
5、直方图
#直方图
hist...(x)
shapiro.test(x) #正态性检验
7、带形图
#带形图
strpchart(y~x,vert=T,pch=1,method="jiter",jit=0.05)
point(x,y,...legend(x, y, legend, ...) :在当前图的特定位置增加图例(legend)。标识字符,线条格式,颜色等都是被字符向量legend 中的标签所注释。