setBrushColor.ggobi          package:Rggobi          R Documentation

_S_e_t _o_r _r_e_t_r_i_e_v_e _t_h_e _s_e_t_t_i_n_g_s _f_o_r _t_h_e _a_p_p_e_a_r_a_n_c_e _o_f _a _g_g_o_b_i _b_r_u_s_h

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

     The appearance of the ``brush'' - the  control for the selection
     of points or a region - can be manipulated per ggobi instance.
     These functions control the color of  the brush region and the
     points within it, and also the glyph used to display the selected
     points within this region.

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

     setBrushColor.ggobi(id, .gobi=getDefaultGGobi())
     getBrushColor.ggobi(.gobi=getDefaultGGobi())
     setBrushGlyph.ggobi(type, size, .gobi=getDefaultGGobi())
     getBrushGlyph.ggobi(.gobi=getDefaultGGobi())

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

      id: the identifier for the color to which the corresponding value
          of the brush region is to be set. For a color, this can be
          either a name (as in the row names from 'getColorMap.ggobi'
          or an integer identifying the particular row/entry of the
          color map.

    type: the identifier of the glyph

    size: an integer specifying the size to which the brush  glyph
          should be set.

   .gobi: the ggobi identifier, either an object of class 'ggobi' or an
          integer.

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

     The 'get' methods   return the current value for the attribute in
     effect at present. In the 'set' methods, the value in effect
     before the  call is returned. This can be used to restore the
     original settings after some event.

_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:

     'setBrushSize.ggobi' 'getBrushSize.ggobi' 'setBrushLocation.ggobi'
     'getBrushLocation.ggobi'

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

       g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit")

     ##  g$setBrushColor("red")

       g$setMode("Brush")

       g$setBrushGlyph("plus")

