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 / pretty < prev    next >
Encoding:
Text File  |  1997-04-23  |  462 b   |  21 lines

  1.     
  2.     _P_r_e_t_t_y _B_r_e_a_k_p_o_i_n_t_s
  3.     
  4.          pretty(x, n=5)
  5.     
  6.     _D_e_s_c_r_i_p_t_i_o_n:
  7.     
  8.          pretty returns a sequence of about n equally spaced
  9.          nice values which cover the range of the values in x.
  10.          The values are chosen so that they are 1, 2 or 5 times
  11.          a power of 10.
  12.     
  13.     _E_x_a_m_p_l_e_s:
  14.     
  15.          pretty(1:15)
  16.          pretty(1:15 * 2)
  17.          pretty(1:20)
  18.          pretty(1:20, n=2)
  19.          pretty(1:20, n=10)
  20.     
  21.