addColorScheme {Rggobi}R Documentation

Adds a color scheme to a GGobi instance or the global color scheme list.

Description

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.

Usage

addColorScheme(scheme, name, overwrite=FALSE, set=FALSE, .gobi=NULL)

Arguments

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.

Value

The index/position in the appropriate list of color schemes to which the new scheme was added.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

setActiveColorScheme getColorSchemes

Examples

  

[Package Contents]