powered by
Creates the necessary XML file for a graph object (as long as it has a class assigned) or the current graph window.
AddXML(x, file)
a graph object for which a method exists, or the current graphics device if set to NULL.
The XML file to be created.
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.
This is experimental work. At present, the proof of concept is based on a fairly standard histogram from the graphics package.
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/
# NOT RUN { x=rnorm(1000) #AddXML(hist(x)) # }
Run the code above in your browser using DataLab