Skip to content

Instantly share code, notes, and snippets.

@andybega
Created April 1, 2019 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andybega/4464905df27c34aa33790c863b2912d7 to your computer and use it in GitHub Desktop.
Save andybega/4464905df27c34aa33790c863b2912d7 to your computer and use it in GitHub Desktop.
Line segment colors in base plot
plot(c(1, 2), c(1, 1), col = c("blue", "red"), pch= 19, cex=4)
lines(c(1, 2), c(1, 1), col = c("blue", "red"), lwd=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment