File: p2p_arrows.R

package info (click to toggle)
r-cran-plotrix 3.8-14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,584 kB
  • sloc: makefile: 6
file content (5 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (7)
1
2
3
4
5
p2p_arrows<-function(x1,y1,x2,y2,space=0.05,col=par("fg"),...) {
 xspace<-(x2-x1)*space
 yspace<-(y2-y1)*space
 arrows(x1+xspace,y1+yspace,x2-xspace,y2-yspace,...)
}