R语言的简单图的绘制

1.向日葵散点图

sunflowerplot(iris[,3:4],col="gol",seg.col="gold")

//用鸢尾花图的3,4列画金色的向日葵散点图



2.R语言散点图详细配置
plot(x$x1,x$x2,
main="数学分析与线性代数成绩的关系",
xlab="数学分析",
ylab="线性代数",
xlim=c(0,100),
ylim=c(0,100),
xaxs="i",   #set x axis style as internal
yaxs="i",    #set y axis style as internal
col="red", #set the color of plotting symbol to red
pch=19)  # set the plotting symbol to filed dots




你可能感兴趣的:(R语言的简单图的绘制)