Friday, September 20, 2013

Simple R Scatter Plo

x=c(13,16,14,11,17,9,13,17,18,12)
y=c(6.2,8.6,7.2,4.5,9.0,3.5,6.5,9.3,9.5,5.7)
length(x)
length(y)
plot(y~x,pch=19,col="blue",xlab="X axis",ylab="y axis",main="Scatter Plot Diagram")


No comments:

Post a Comment