readXMLColorSchemes {Rggobi}R Documentation

Read color schemes from XML format.

Description

This reads an XML document (either a file, string or via HTTP or FTP) and process the contents as color schemes. It creates a list of these colorschemes indexed by their names. Each element is a ColorScheme object with a more specific sub-class.

Usage

readXMLColorSchemes(uri, handlers=xmlColorSchemeHandlers())

Arguments

uri the name/identifier for the XML document.
handlers the set of XML node handlers that process the document and create the R data structures representing the color schemes.

Value

A list with as many elements as there are color schemes. Each element extends the class ColorScheme.

Author(s)

Duncan Temple Lang

References

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

See Also

xmlColorSchemeHandlers

Examples

f = ggobi.find.file(c("data", "colorschemes.xml"))
if(file.exists(f))
  readXMLColorSchemes(f)

[Package Rggobi version 1.1-3 Index]