exportSVG
is designed to export the iNZight plot as a temporary SVG that is opened in a web browser.
The iNZightPlot must be drawn to a graphics device before exporting can occur.
exportSVG(x, file = tempfile(fileext = ".svg"), ...)# S3 method for `function`
exportSVG(
x,
file = tempfile(fileext = ".svg"),
width = dev.size()[1],
height = dev.size()[2],
...
)
# S3 method for inzplotoutput
exportSVG(x, file = tempfile(fileext = ".svg"), ...)
iNZight plot object or function that captures iNZight environment
Name of temporary svg file generated (by default: 'inzightplot.svg')
additional arguments
the width of the plot device
the height of the plot device
Opens up an SVG file of x
with filename file
in a web browser
function
: method for functions
inzplotoutput
: method for an existing plot object