Skip to content

Instantly share code, notes, and snippets.

@jaye-ross
Created April 20, 2015 17:57
Show Gist options
  • Save jaye-ross/93bc6af266f97b369244 to your computer and use it in GitHub Desktop.
Save jaye-ross/93bc6af266f97b369244 to your computer and use it in GitHub Desktop.
Draw arrows on plot
curve(dnorm(x,0,1),-5,5)
curve(dnorm(x,1,1),-5,5,add=TRUE)
arrows(0,0.2,1,0.2)
abline(v=0,lty=2)
abline(v=1,lty=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment