4
$\begingroup$

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?

$\endgroup$

1 Answer 1

3
$\begingroup$

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.

$\endgroup$
3
  • $\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
    Commented Sep 7, 2014 at 21:05
  • $\begingroup$ It would be if you then also used the gridSVG package to create SVG versions of the ggplot2 plots $\endgroup$ Commented Sep 7, 2014 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
    Commented Sep 7, 2014 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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