polarLAB             package:colorspace             R Documentation

_C_r_e_a_t_e _p_o_l_a_r_L_A_B _C_o_l_o_r_s

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

     This function creates colors of class ``polarLAB''; a subclass of
     the virtual ``color'' class.

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

     polarLAB(L, C, H, names)

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

   L,C,H: these arguments give the L, C and H coordinates of the
          colors.  The values can be provided in separate 'L', 'C' and
          'H' vectors or in a three-column matrix passed as 'L'.

   names: A vector of names for the colors (by default the row names of
          'L' are used).

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

     The polarLAB space is a transformation of the CIE L*a*b* space so
     that the a and b values are converted to polar coordinates.  The
     radial component C measures chroma and the angular coordinate H is
     measures hue.

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

     An object of class ``polarLAB'' which inherits from class
     ``color.''

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

     Ross Ihaka

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

     'RGB', 'HSV', 'XYZ', 'LAB', 'polarLAB', 'LUV', 'polarLUV'.

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

     ## Show the polarLAB space
     x = RGB(runif(1000), runif(1000), runif(1000))
     plot(as(x,"polarLAB"))

