ggsvg: Save ggplot as .pdf, then convert to .svg via pdf2svg

View source: R/main.R

ggsvgR Documentation

Save ggplot as .pdf, then convert to .svg via pdf2svg

Description

Save ggplot as .pdf, then convert to .svg via pdf2svg

Usage

ggsvg(f, width = 6.5, height = 6.5, ...)

Arguments

f

Filename of the svg file. Omit the ".svg" at the end.

width

width passed to ggplot2::ggsave

height

width passed to ggplot2::ggsave

...

Additional parameters passed to ggplot2::ggsave


wjschne/WJSmisc documentation built on June 29, 2023, 8:04 a.m.