AddXMLMethod: Create XML files to sit alongside SVG files in order to make...

Description Usage Arguments Details Value Author(s) References Examples

Description

Creates the necessary XML file for a graph object (as long as it has a class assigned) or the current graph window.

Usage

1

Arguments

x

a graph object for which a method exists, or the current graphics device if set to NULL.

file

The XML file to be created.

Details

This is experimental work. At present, the proof of concept is based on a fairly standard histogram from the graphics package.

Value

NULL. This function is solely for the purpose of creating XML files in the current working directory or in a path of the user's choosing.

Author(s)

Volker Sorge and A. Jonathan R. Godfrey

References

P. Dengler et al. (2011) Scalable vector graphics (SVG) 1.1, second edition. W3C recommendation, W3C. http://www.w3.org/TR/2011/REC-XML11-20110816/

Examples

1
2
x=rnorm(1000)
#AddXML(hist(x))

BrailleR documentation built on June 5, 2018, 9:04 a.m.