Skip to content

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 svglite.

height, width

Height and width in inches.

Examples

if (interactive()) {
  editSVG(plot(1:10))
  editSVG(contour(volcano))
}