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?


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.

| cite | improve this answer | |
  • $\begingroup$ 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. $\endgroup$ – Alexis Sep 7 '14 at 21:05
  • $\begingroup$ It would be if you then also used the gridSVG package to create SVG versions of the ggplot2 plots $\endgroup$ – Dianne Cook Sep 7 '14 at 21:13
  • 1
    $\begingroup$ 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. :) $\endgroup$ – Alexis Sep 7 '14 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.