devSVG {RSvgDevice}R Documentation

A SVG Graphics Driver

Description

This function produces graphics suitable teh current w3 svg XML standard

Usage

devSVG(file = "Rplots.svg", width = 10, height = 8,
       bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)

Arguments

file the file where output will appear.
width The width of the plot in inches.
height the height of the plot in inches.
bg the background color for the plot.
fg the foreground color for the plot.
onefile merge plot calls into onefile or separate them to separate pages.
xmlHeader Print XML header or not.

Details

This driver currently does not have any font metric information, so the use of plotmath is not supported.

The driver output is currently NOT specifying a DOCTYPE DTD

Author(s)

This driver was written by T Jake Luciani jakeluciani@yahoo.com

References

www Consortum W3C Scalable Vector Graphics (SVG) http://www.w3.org/Graphics/SVG/Overview.htm8

See Also

pictex, postscript, Devices.

Examples

devSVG()
plot(1:11,(-5:5)^2, type='b', main="Simple Example Plot")
dev.off()

[Package RSvgDevice version 0.5.3 Index]