colorRamps-package        package:colorRamps        R Documentation

_B_u_i_l_d_s _c_o_l_o_r _m_a_p_s

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

     This is a rewrite of the 'colorRamps' package. It now contains two
     function 'table.ramp' and 'rgb.tables' that allow easy
     construction of color palettes. This version contains two new
     palettes similar to the Matlab default palette ('matlab.like' and
     'matlab.like2').

     I built colorRamps because I needed to use a particular palette
     and got tired of sourcing in my code into every session. Now I can
     install and forget. Despite using R for years, I had not noticed
     the alternative 'colorRamp' which may suit your needs. If you want
     really attractive palettes, get the RColorBrewer package from
     CRAN. For certain applications the RColorBrewer palettes do not
     work for me, hence this package.

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


       Package:  colorRamps
       Type:     Package
       Version:  2.0
       Date:     2007-09-09
       License:  GPL

     All function take a single argument 'n' that specifies the number
     of colors to generate.

_A_u_t_h_o_r(_s):

     Tim Keitt

     Maintainer: Tim Keitt <tkeitt@gmail.com>

_E_x_a_m_p_l_e_s:

     image(matrix(1:400, 20), col = matlab.like2(400))

