dlines {calibrate} | R Documentation |
dlines
connects two sets of points by lines in
a rowwise manner.
dlines(SetA, SetB, lin = "dotted")
SetA |
matrix with the first set of points |
SetB |
matrix with teh second set of points |
lin |
linestyle for the connecting lines |
NULL
Jan Graffelman (jan.graffelman@upc.edu)
X <- matrix(runif(20),ncol=2)
Y <- matrix(runif(20),ncol=2)
plot(rbind(X,Y))
text(X[,1],X[,2],paste("X",1:10,sep=""))
text(Y[,1],Y[,2],paste("Y",1:10,sep=""))
dlines(X,Y)