home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / plot.xy < prev    next >
Encoding:
Text File  |  1997-04-23  |  1.4 KB  |  37 lines

  1.     
  2.     _E_x_t_r_a_c_t_i_n_g _P_l_o_t_t_i_n_g _S_t_r_u_c_t_u_r_e_s
  3.     
  4.          plot.xy(x, y, xlab=NULL, ylab=NULL)
  5.     
  6.     _A_r_g_u_m_e_n_t_s:
  7.     
  8.              x,y : the coordinates of points in the plot.
  9.                    Alternatively, a single argument x can be be
  10.                    provided.  In this case, an attempt is made
  11.                    to interpret the argument in a way suitable
  12.                    for plotting.  If the argument is a list con-
  13.                    taining components x and y, these are used
  14.                    are assumed to  plotting coordinates; if the
  15.                    argument contains a time series, the x values
  16.                    are taken to be time and the y values to be
  17.                    the time series; if the argument is a matrix
  18.                    with two columns, the first is assumed to
  19.                    contain the x values and the second the y
  20.                    values; in any other case, the argument is
  21.                    coerced to a vector and the values plotted
  22.                    against their indices.
  23.     
  24.        xlab,ylab : names for the x and y variables to be
  25.                    extracted.
  26.     
  27.     _D_e_s_c_r_i_p_t_i_o_n:
  28.     
  29.          plot.xy is used by many function to obtain x and y
  30.          coordinates for plotting.  The use of this common
  31.          mechanism across all R functions produces a measure of
  32.          consistency.
  33.     
  34.          plot and lowess are examples of functions which use
  35.          this mechanism.
  36.     
  37.