resolveColors.ggobi {Rggobi} | R Documentation |
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.
resolveColors.ggobi(..., .gobi=getDefaultGGobi())
... |
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. |
An integer vector specifying the indices of the entries in the color map corresponding to the specified names.
Duncan Temple Lang
getColors.ggobi
setColors.ggobi
getColorMap.ggobi
setColorMap.ggobi
g <- ggobi(system.file("data", "flea.xml", package="Rggobi")) ## Not run: g$resolveColors("red", "green") ## End(Not run)