setBrushColor.ggobi {Rggobi} | R Documentation |
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.
setBrushColor.ggobi(id, .gobi=getDefaultGGobi()) getBrushColor.ggobi(.gobi=getDefaultGGobi()) setBrushGlyph.ggobi(type, size, .gobi=getDefaultGGobi()) getBrushGlyph.ggobi(.gobi=getDefaultGGobi())
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. |
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.
Duncan Temple Lang
setBrushSize.ggobi
getBrushSize.ggobi
setBrushLocation.ggobi
getBrushLocation.ggobi
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") ## g$setBrushColor("red") g$setMode("Brush") g$setBrushGlyph("plus")