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 < prev    next >
Encoding:
Text File  |  1997-04-23  |  964 b   |  38 lines

  1.     
  2.     _X-_Y _P_l_o_t_t_i_n_g
  3.     
  4.          plot(x, y, xlim=range(x), ylim=range(y), type="p",
  5.                  main, xlab, ylab, ...)
  6.     
  7.     _A_r_g_u_m_e_n_t_s:
  8.     
  9.              x,y : the coordinates of points in the plot.
  10.                    Alternatively, a single plotting structure
  11.                    can be provided.
  12.     
  13.        xlim,ylim : the ranges to be encompased by the x and y
  14.                    axes.
  15.     
  16.             type : what type of plot should be drawn.  Possible
  17.                    types are "p" for points, "l" for lines, "b"
  18.                    for both, and "n" for no plotting.
  19.     
  20.             main : an overall title for the plot.
  21.     
  22.             xlab : a title for the x axis.
  23.     
  24.             ylab : a title for the y axis.
  25.     
  26.              ... : graphical parameters can be given as argu-
  27.                    ments to plot.
  28.     
  29.     _D_e_s_c_r_i_p_t_i_o_n:
  30.     
  31.          A longer description will go here eventually.
  32.     
  33.     _E_x_a_m_p_l_e_s:
  34.     
  35.          plot(cars)
  36.          lines(lowess(cars))
  37.     
  38.