svglite (version 1.2.1)

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

width

Height and width in inches.

height

Height and width in inches.

Examples

Run this code
# NOT RUN {
if (interactive()) {
  editSVG(plot(1:10))
  editSVG(contour(volcano))
}
# }

Run the code above in your browser using DataCamp Workspace