dlines               package:calibrate               R Documentation

_C_o_n_n_e_c_t _t_w_o _s_e_t_s _o_f _p_o_i_n_t_s _b_y _l_i_n_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     'dlines' connects two sets of points by lines in a rowwise manner.

_U_s_a_g_e:

     dlines(SetA, SetB, lin = "dotted")

_A_r_g_u_m_e_n_t_s:

    SetA: matrix with the first set of points

    SetB: matrix with teh second set of points

     lin: linestyle for the connecting lines

_V_a_l_u_e:

     NULL

_A_u_t_h_o_r(_s):

     Jan Graffelman (jan.graffelman@upc.edu)

_S_e_e _A_l_s_o:

     'lines'

_E_x_a_m_p_l_e_s:

     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)

