From: W. Trevor King Date: Sat, 10 Mar 2012 14:07:20 +0000 (-0500) Subject: Update numbers-from-journal-figures post to point to scale_click.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4eb7638bd4ac6c10520a4abd15104ab616f190e6;p=mw2txt.git Update numbers-from-journal-figures post to point to scale_click.py. --- diff --git a/posts/Getting_numbers_from_journal_figures.mdwn b/posts/Getting_numbers_from_journal_figures.mdwn index 2e7a8fd..8a4a2d8 100644 --- a/posts/Getting_numbers_from_journal_figures.mdwn +++ b/posts/Getting_numbers_from_journal_figures.mdwn @@ -5,12 +5,12 @@ out of graphs and whatnot that show up in journal articles. $ pdfimages article.pdf fig $ clickloc.tk fig-000.ppm > fig-000.pixels - $ scale_click.sh 0 10 5 20 fig-000.pixels > fig-000.data + $ scale_click.py 0 10 5 20 fig-000.pixels > fig-000.data Just use your first four clicks in [[clickloc.tk|clickloc/clickloc.tk]] to mark out the x and y minimum and maximum values. Then use -[[scale_click.sh|clicloc/scale_click.sh]] to convert the pixel values +[[scale_click.py|clicloc/scale_click.py]] to convert the pixel values to the units listed in the figure. In my example, the x axis ran from 0 to 10 units, and the y axis ran from 5 to 20 units. Supports log-scaled axes too.