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, name="", to=list())

_A_r_g_u_m_e_n_t_s:

    plot: 

    name: 

      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))

