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

