4

In his up-voted answer to Software needed to scrape data from graph, Alexey writes (with respect to the need for data scraping off of raster graphs) "But nowadays the good practice is to publish graphs in vector form."

To rip off my comment to Alexey from that page: Is there a good reference for best practices around which vector format(s) to present graphs of data in? For example, ought I use an eps encapsulation of an svg file in my LaTeX manuscripts, or am I supposed to output graph in LaTeX directly? Or something else?

mdewey
  • 16,541
  • 22
  • 30
  • 57
Alexis
  • 26,219
  • 5
  • 78
  • 131

1 Answers1

3

Or make your data and code available using R, ggplot2 and knitr so it is fully reproducible. And then you can use the gridSVG package to create SVG versions of the ggplot2 plots.

Dianne Cook
  • 1,479
  • 1
  • 11
  • 12
  • Making data and code available (I try to do both) does not really address the question, which was specifically about vector format graphs and charts. – Alexis Sep 07 '14 at 21:05
  • It would be if you then also used the gridSVG package to create SVG versions of the ggplot2 plots – Dianne Cook Sep 07 '14 at 21:13
  • 1
    GREAT! How about you edit your answer to make that more explicit, and possibly offer a link or two to the requested "best practices" or guidelines? Or create a how-to right here. :) – Alexis Sep 07 '14 at 21:19