Skip to content

Instantly share code, notes, and snippets.

@jonesor
Created August 20, 2015 14:22
Show Gist options
  • Save jonesor/f529537e2512c65ca4a8 to your computer and use it in GitHub Desktop.
Save jonesor/f529537e2512c65ca4a8 to your computer and use it in GitHub Desktop.
Point types available by default in R.
par(mar=c(1,1,1,1))
plot(x = rep(1:5,5),y = rep(1:5,each=5),pch=1:25,col="black",bg="yellow",axes=F,xlab="",ylab="",
cex=2,xlim=c(0,5.5),ylim=c(0,5.5))
text(x = rep(1:5,5),y = rep(1:5,each=5),text=1:25,pos=2,cex=.8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment