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:

