map_colour_gradient          package:ggplot          R Documentation

_A_e_s_t_h_e_t_i_c _m_a_p_p_i_n_g: _c_o_l_o_u_r _g_r_a_d_i_e_n_t

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

     Map values to a colour gradient

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

     map_colour_gradient(x, low="red", mid="white",high="black", midpoint = 0, from=range(x, na.rm=TRUE))

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

       x: data vector

     low: colour to use at bottom of scale

     mid: colour to use at middle of scale

    high: colour to use at top of scale

midpoint: where mid point colour should be used

    from: 

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

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

     Hadley Wickham <h.wickham@gmail.com>

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

