schsv                 package:ggplot                 R Documentation

_S_c_a_l_e: _c_o_l_o_u_r (_h_s_v)

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

     Scale continuous variables to hue, saturation and value components
     of colour.

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

     schsv(plot = .PLOT, to=list())

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

    plot: 

      to: 

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

     Use multiple mappings with care

     Note: alpha mappings only work with the Quartz and PDF devices.

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

     Hadley Wickham <h.wickham@gmail.com>

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

     'map_colour_hsv', 'hsv'

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

     p <- schsv(ggplot(movies, aes=list(y=rating, x=year)))
     ggpoint(p, list(h=year))
     schsv(ggpoint(p, list(h=year)), list(h.to=c(0.3,0.5)))
     ggpoint(p, list(s=rating))
     ggpoint(p, list(v=rating, h=0.3, s=rating))
     ggpoint(p, list(h=rating, v=year))

