Skip to content

Instantly share code, notes, and snippets.

@mmajogn
Created February 28, 2015 04:29
Show Gist options
  • Save mmajogn/7e9e27481181d8c6a2c4 to your computer and use it in GitHub Desktop.
Save mmajogn/7e9e27481181d8c6a2c4 to your computer and use it in GitHub Desktop.
#Gráfica en .R points#
x<--10:10
y<-x^2
plot(x,y)
points(0, 30)
y2<-0.5*x^2
plot(x,y2,type="p")
points(x,y,type="p")
plot(x,y, col="orange")
plot(x,y,pch=18, , main="Grafica en .R points")
points(x,y2,pch=10, col="blue")
y3<-1:10
points(x,1:21,pch=12, col="red")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment