2

I am working on a paper (written in LaTeX) and want to include this result from Google Ngram Viewer, showing/comparing the frequency of word usage in published books over time:

enter image description here

What is the proper way to cite this result? and is there a better way of saving the image than taking a screenshot?

It seems the image itself is generated as an svg (for, I assume, scaled vector graphic?). This would be a convenient way to save it for use in LaTeX.

enter image description here

1

1 Answer 1

4

I suggest you download this python script https://github.com/econpy/google-ngrams

This allows you to download a .csv file containing the data of your search. Then you can plot with your favourite program in your favourite format to be embedded into latex.

Concerning the .svg, it's perfect for latex, especially if you have Inkscape https://tex.stackexchange.com/questions/151232/exporting-from-inkscape-to-latex-via-tikz

3
  • I'll check out the script... for using Inkscape, how would I get the ngram into Inkscape? copy the code section from the page source?
    – LShaver
    Commented Mar 5, 2017 at 15:35
  • If you download the .csv with the script, you don't need to produce an .svg to open with Inkscape. However, if you know a bit of Python, you can produce an .svg of your data with Python.
    – Anon
    Commented Mar 5, 2017 at 15:36
  • One part of the question remains unanswered, though: "What is the proper way to cite the result?" According to books.google.com/ngrams/info, you are supposed to cite the original paper by the google books team, but I'm not sure whether that makes sense given that the purpose of a citation is to allow the reader to find the original source.
    – Christoph
    Commented Nov 14, 2018 at 9:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .