rgcolors.func              package:sma              R Documentation

_R_e_d _a_n_d _G_r_e_e_n _C_o_l_o_r _S_p_e_c_i_f_i_c_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This function creates a vector of n ``contiguous'' colors,
     corresponding to n intensities (between 0 and 1) of the red, green
     and blue primaries, with the blue intensities set to zero. The
     values returned by 'rgcolors.func' can be used with a 'col='
     specification in graphics functions or in 'par'.

_U_s_a_g_e:

     rgcolors.func(n=50)

_A_r_g_u_m_e_n_t_s:

       n: the number of colors (>= 1) to be used in the red and green
          palette. 

_V_a_l_u_e:

     a character vector of color names. Colors are specified directly
     in terms of their RGB components with a string of the form
     "#RRGGBB", where each of the pairs RR, GG, BB consist of two
     hexadecimal digits giving a value in the range 00 to FF.

_A_u_t_h_o_r(_s):

     Sandrine Dudoit, sandrine@stat.berkeley.edu 
      Jane Fridlyand, janef@stat.berkeley.edu

_S_e_e _A_l_s_o:

     'plot.cor', 'plot.mat', 'colors', 'rgb', 'image'.

_E_x_a_m_p_l_e_s:

     rgcolors.func(n=5)
     ## The following vector is returned:
     ## "#00FF00" "#40BF00" "#808000" "#BF4000" "#FF0000"

