colorSchemesView {RGtkViewers} | R Documentation |
This is a GUI for examining a collection of (GGobi) color schemes. It presents the schemes hierarchically by type (divergent, sequential, qualitative, etc.), and within type by name, and within name it displays colors by name. When one selects a color scheme, it is rendered
colorSchemesView(schemes, schemeCallback = NULL)
schemes |
a list of color schemes to display. |
schemeCallback |
a function to be registered with the
GtkTreeItem for the select event/signal.
This is expected to "display" the scheme.
It is called with a list as the first argument and the
GtkTreeItem as the second argument.
The list contains 2 elements: the ColorScheme object,
and the name of the scheme. |
This uses the gtkDev
package
to create an embedded graphics device within a
Gtk GUI.
A list containing the GtkWindow
object
Duncan Temple Lang <duncan@research.bell-labs.com>
http://www.omegahat.org/RGtk, http://www.ggobi.org http://www.ggobi.org/data/colorschemes.xml http://www.gtk.org
colorSchemesTree
colorSchemeTree
## Not run: require(Rggobi) schemes <- readXMLColorSchemes("http://www.ggobi.org/data/colorschemes.xml") colorSchemesView(schemes) ## End(Not run)