schcl                 package:ggplot                 R Documentation

_S_c_a_l_e: _c_o_l_o_u_r (_h_c_l)

_D_e_s_c_r_i_p_t_i_o_n:

     Scale continuous variables to hue, chroma and luminance components
     of colour

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

    plot: 

      to: 

_D_e_t_a_i_l_s:

     This colour map is the most perceptually uniform.  However, use
     multiple mappings with care.  It is often a good idea to restrict
     the range of the hue, as shown in the example.

     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_hcl', 'hcl'

_E_x_a_m_p_l_e_s:

     p <- schcl(ggplot(movies, aes=list(y=rating, x=year)))
     ggpoint(p, list(h=year))
     schcl(ggpoint(p, list(h=year)), list(h.to=c(45,60)))
     ggpoint(p, list(c=rating))
     ggpoint(p, list(l=length))
     ggpoint(p, list(h=rating, l=year))
     ggpoint(p, list(h=rating, c=year, l=year))

