xmlPlot: Constructor functions for different types of plots in SVG

Description Usage Arguments Value Author(s) See Also

Description

These functions allow one to read an SVG file containing an R plot into R and then process it in different ways. The different functions are used to identify the type of the plot. This can facilitate working with the plot where the layout is important to know. At present, this is not essential. In fact, one should use svgPlot to create the SVG plot and return the resulting SVG/XML tree.

Usage

1

Arguments

file

the name of the SVG file from which to read the plot

class

the name of the class for the resulting parsed XML document. This allows one to identify the plot as, for example, a histogram, scatter plot,

Value

A parsed XML document with the relevant class attribute.

Author(s)

Duncan Temple Lang

See Also

svgPlot


duncantl/SVGAnnotation documentation built on May 15, 2019, 5:57 p.m.