plot 二维坐标绘图
dotchart 点图
barplot 条形图
hist 直方图
pie 饼图
points 添加点
lines 添加线
text 添加文字
title 添加标题
boxplot...ylab="",main="",xlim=c(0,45),ylim=c(0,45),pch=18,col=2,cex=5)
#xlab/ylab,xy标题
#main,主标题
#xlim,ylim,xy线段范围...del) #画好需要关闭
3、箱型图
#箱型图
boxplot(x~y,data=iris) #依据y分类,求得x的箱型图
4、条形图
#条形图
barplot...标识字符,线条格式,颜色等都是被字符向量legend 中的标签所注释。...#legend( , lty=v)线条样式 #legend( , lwd=v)线条宽度 #legend( , pch=v)标识字符(字符向量)
?