Draw arrow at positions in a graph located by clicking and return the code to recreate it
locArrow(digits = 2, length = 0.1, code = 2, ...)
Character string with code
Berry Boessenkool, berry-b@gmx.de, Jun 2016
Not tested across platforms yet...
plot(cumsum(rnorm(60)), type="l")
## locArrow() # only do this manually in interactive() mode
## locArrow(col="blue", lwd=3)
Run the code above in your browser using DataLab