ColorScheme-class {Rggobi}R Documentation

Color Scheme representation

Description

A color scheme is a collection of colors that can be used to provide a particular style or theme. A color scheme has colors for the background and the labels/annotations, and a pallette of color values that can be used to display different values within the scheme. There are different types of schemes for displaying different effects or styles. For example, there are continuous or divergent schemes.

Objects from the Class

Objects can be created by calls of the form new("ColorScheme", ...). Typically, we retrieve schemes using getColorSchemes.

Slots

colors:
A list containing the different colors for the values in the color scheme. Each element is an object of class Color-class, currently RGBColor-class.
background:
Object of class "Color". This is used as the background color for displays using this scheme.
annotations:
Object of class "Color". This is used to color labels, etc., i.e. decorations on plots.
criticalvalue:
Object of class "integer"
description:
Object of class "character". A string giving a human readable description of the characteristics of this color scheme.
type:
Object of class "integer". An integer and name describing the particular type of the color scheme. These are currently qualitative, sequential, divergin and spectral. The integer value is used internally. Generally, R users will only refer to these by the name of the type.
system:
Object of class "integer". A name and integer value identifying how the colors are represented. Currently, we are only using RGB.
name:
Object of class "character". A name for identifying the color scheme.

Methods

No methods defined with class "ColorScheme" in the signature.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org/RSggobi.html

See Also

Color-class RGBColor-class getColorSchemes

Examples



[Package Rggobi version 1.1-2 Index]