addColorScheme {Rggobi} | R Documentation |
This takes an R color scheme description and adds an equivalent representation to either the color schemes available to a particular GGobi instance or to the global list of color schemes within a GGobi session.
addColorScheme(scheme, name, overwrite=FALSE, set=FALSE, .gobi=NULL)
scheme |
the ColorScheme object. |
name |
the name to identify/describe the scheme. |
overwrite |
a logical value indicating whether
we should replace any existing entry with this name
with the new scheme (TRUE ), or simply append
the new scheme to the end of the list. |
set |
a logical value that indicates whether
to also make this the active color scheme.
See setActiveColorScheme . |
.gobi |
the GGobi instance to which to append the new
color scheme, or if this is NULL ,
the color scheme is added to the session options and
will be available to new GGobi instances created after this. |
The index/position in the appropriate list of color schemes to which the new scheme was added.
Duncan Temple Lang
setActiveColorScheme
getColorSchemes