textxy               package:calibrate               R Documentation

_L_a_b_e_l _p_o_i_n_t_s _i_n _a _p_l_o_t

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

     Function textxy calls function text in order to add text to points
     in a graph. textxy chooses a different position  for the text
     depending on the quadrant. This tends to  produces better readable
     plots.

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

     textxy(X, Y, labs, cx = 0.5, dcol = "black", m = c(0, 0))

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

       X: x coordinates of a set of points

       Y: y coordinates of a set of points

    labs: labels to be placed next to the points

      cx: character expansion factor

    dcol: colour for the labels

       m: coordinates of the origin of the plot (default (0,0))

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

     NULL

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

     Jan Graffelman (jan.graffelman@upc.edu)

_R_e_f_e_r_e_n_c_e_s:

     Graffelman, J. (2006) A guide to biplot calibration.

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

     'text'

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

     x <- runif(50)
     y <- runif(50)
     plot(x,y)
     textxy(x,y,1:50,m=c(mean(x),mean(y)))

