

eqscplot(MASS)                               R Documentation

_P_l_o_t_s _w_i_t_h _G_e_o_m_e_t_r_i_c_a_l_l_y _E_q_u_a_l _S_c_a_l_e_s

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

     Version of a scatterplot with scales chosen to be equal
     on both axes, that is 1cm represents the same units on
     each

_U_s_a_g_e_:

     eqscplot(x, y, ratio = 1, tol = 0.04, uin, ...)

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

       x: vector of x values, or a 2-column matrix, or a
          list with components `x' and `y'

       y: vector of y values

   ratio: desired ratio of units on the axes. Units on the y
          axis are drawn at `ratio' times the size of units
          on the x axis. Ignored if `uin' is specified and
          of length 2.

     tol: proportion of "white space" at the margins of plot

     uin: desired values for the units per inch parameter.
          If of length 1, the desired units per inch on the
          x axis.

     ...: further arguments for `plot'

_D_e_t_a_i_l_s_:

     Limits for the x and y axes are chosen so that they
     include the data. One of the sets of limits is then
     stretched from the midpoint to make the units in the
     ratio given by `ratio'. Finally both are stretched by
     `1 + tol' to move points away from the axes, and the
     points plotted.

_V_a_l_u_e_:

     invisibly, the values of `uin' used for the plot.

_S_i_d_e _E_f_f_e_c_t_s_:

     performs the plot.

_N_o_t_e_:

     Arguments `ratio' and `uin' were suggested by Bill Dun-
     lap.

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

     `plot', `par'

