XYZ                package:colorspace                R Documentation

_C_r_e_a_t_e _X_Y_Z _C_o_l_o_r_s

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

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

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

     XYZ(X, Y, Z, names)

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

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

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

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

     The X, Y and Z values are the levels of the CIE primaries. These
     are scaled so that the luminance of the display white-point is
     100.  The white-point is taken to be D65, which means that its
     coordinates are  95.047, 100.000, 108.883.

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

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

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

     Ross Ihaka

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

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

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

     ## Generate white in XYZ space
     white = XYZ(95.047, 100.000, 108.883)

