blue2red             package:colorRamps             R Documentation

_R_e_t_u_r_n_s _a _g_r_a_d_i_e_n_t _c_o_l_o_r _m_a_p

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

     'blue2red' makes a color map that runs from blue -> cyan -> yellow
     -> red. 'blue2green' makes a color map that runs from blue ->
     magenta -> yellow -> green. 'green2red' makes a color map that
     runs from green -> cyan -> magenta -> red

_U_s_a_g_e:

     blue2red(n)
     blue2green(n)
     green2red(n)

_A_r_g_u_m_e_n_t_s:

       n: number of colors

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

     These are double-ramp maps with a sharp transition from cooler
     colors  to warmer colors at the midpoint. With proper scaling,
     this will highlight the mean, median, etc.

_V_a_l_u_e:

     A colormap

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

     Tim Keitt <tkeitt@gmail.com>

_S_e_e _A_l_s_o:

     'rgb'

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

     image(matrix(1:400, 20), col = blue2red(400))
     image(matrix(1:400, 20), col = blue2green(400))
     image(matrix(1:400, 20), col = green2red(400))

