MakeAccessibleSVGMethod: Create matched pairs of SVG and XML files to make an accessible graph experience.
Description
Creates the necessary SVG and XML files for a graph object (as long as it has a class assigned) or the current graph window.
Usage
MakeAccessibleSVG(x, file = "test", view = interactive(), ...)
Arguments
x
a graph object for which a method exists, or the current graphics device if set to NULL.
file
The shared name for the SVG and XML files to be created.
view
launch in browser; this is the default when in interactive session
...
arguments passed on to other methods/functions
Value
NULL. This function is solely for the purpose of creating SVG and XML files in the current working directory or in a path of the user's choosing.
Details
This is experimental work. Having started with the proof of concept based on a fairly standard histogram from the graphics package, we are now looking to the boxplots and time series plots.
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
Run this code# NOT RUN {
x=rnorm(1000)
#MakeAccessibleSVG(hist(x))
# }
Run the code above in your browser using DataLab