colorLocator           package:fUtilities           R Documentation

_C_o_l_o_r _S_e_l_e_c_t_i_o_n

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

     Displays R's 657 named colors for selection and returns optionally
     R's color names.

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

      
     colorLocator(locator = FALSE)
     colorMatrix(locator = TRUE)

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

 locator: a logical flag, activates 'locator' for interactive selection
          of color  names, default is 'FALSE'. 

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

     Color Locator:

     The 'colorLocator' function plots R's 657 named colors.  If 
     'locator=TRUE' then you can interactively point and click to 
     select the colors for which you want names. To end selection,
     right  click on the mouse and select 'Stop', then R returns the
     selected  color names. 

     The functions used here are wrappers to the functions provided by
     Tomas Aragon in the contributed R package. 'epitools'.

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

     Color Locator:

     'colorsLocator' generates a plot with R colors and, when 
     'locator=TRUE', returns matrix with graph coordinates and  names
     of colors selected. 'colorsMatrix' quietly returns  matrix of
     names.

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

     'link{colorPalette}', 'link{colorTable}'.

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

     ## colorLocator -
        colorLocator()

