resolveColors.ggobi          package:Rggobi          R Documentation

_M_a_p _n_a_m_e_s _t_o _c_o_l_o_r _v_a_l_u_e_s _i_n _a _g_g_o_b_i _i_n_s_t_a_n_c_e.

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

     This currently does not work but will when color schemes are
     enabled in GGobi.

     Colors in ggobi are represented by entries in a color table or
     matrix as Red, Green and Blue values. To set a color, one can
     identify the entry in that table  either by number/index or by
     name. This function maps color names to the corresponding index so
     that these values can be passed to the low-leve C routines.  This
     function is typically called internally.

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

     resolveColors.ggobi(..., .gobi=getDefaultGGobi())

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

     ...: names of colors to be resolved in the default color map of
          the ggobi instance.

   .gobi: the ggobi instance whose default color map is to  be used to
          resolve the names.

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

     An integer vector specifying the indices of the  entries in the
     color map corresponding to the specified names.

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

     Duncan Temple Lang

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

     <URL: http://www.ggobi.org>

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

     'getColors.ggobi' 'setColors.ggobi' 'getColorMap.ggobi'
     'setColorMap.ggobi'

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

       g <- ggobi(system.file("data", "flea.xml", package="Rggobi"))
     ## Not run: 
       g$resolveColors("red", "green")
     ## End(Not run)

