Skip to contents

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