hcl                package:colorspace                R Documentation

_C_r_e_a_t_e _R _C_o_l_o_u_r_s _f_r_o_m _H_u_e, _C_h_r_o_m_a _a_n_d _L_u_m_i_n_a_n_c_e

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

     This function creates a vector of R colours with the the given
     hue, chroma and luminance values.

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

     hcl(h = 0, c = 35, l = 85, gamma = 2.2, fixup = TRUE)

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

       h: The hue of the color as an angle in the interval [0,360].

       c: The chroma of the color.

       l: The luminance of the colour

   gamma: The gamma value for the device the colours are to be viewed
          on.

   fixup: a logical value which indicates whether a ``close'' color
          should be substituted when the specified colour is out of
          gammut.

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

     This function is intended as an alternative to color specification
     with the R `hsv' function.  The use of this function is more
     firmly based in perceptual theory.

_V_a_l_u_e:

     A vector (of character strings) wich can be used as color
     specifications for other R functions.

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

     Ross Ihaka

_R_e_f_e_r_e_n_c_e_s:

     Ihaka, R. (2003). ``Colour for Presentation Graphics,''
     Proceedings of DSC-2003.

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

     barplot(rep(1, 12), col = hcl(seq(0, 360, length = 13)[1:12]))

