Skip to content

Instantly share code, notes, and snippets.

@jonesor
Last active July 18, 2026 20:12
Show Gist options
  • Select an option

  • Save jonesor/f529537e2512c65ca4a8 to your computer and use it in GitHub Desktop.

Select an option

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 = FALSE, 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), labels = 1:25, pos = 2, cex = .8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment