coolbutuseless / svgpatternusgs

SVG patterns from the U.S. Geological Survey for use within R
https://coolbutuseless.github.io/package/svgpatternusgs/
MIT License
13 stars 2 forks source link

Using with ggplot #1

Open krzjoa opened 4 years ago

krzjoa commented 4 years ago

Is there any way to use these patterns with ggplot? I saw several examples with svgpatternsimple and devoutsvg, but it always produces a SVG file which is not my goal. Is it possible to combine it in the R code?

coolbutuseless commented 4 years ago

To use these patterns with ggplot you need to use devoutsvg.

If you would like pdf output, you can convert SVG to pdf using many different tools.