editSVG {svglite} | R Documentation |
Run plotting code and open svg in OS/system default svg viewer or editor.
Description
This is useful primarily for testing or post-processing the SVG.
Usage
editSVG(code, ..., width = NA, height = NA)
Arguments
code |
Plotting code to execute. |
... |
Other arguments passed on to |
height , width |
Height and width in inches. |
Examples
if (interactive()) {
editSVG(plot(1:10))
editSVG(contour(volcano))
}
[Package svglite version 2.1.1 Index]