{"id":176,"date":"2014-08-23T11:37:34","date_gmt":"2014-08-23T15:37:34","guid":{"rendered":"http:\/\/www.joshuagallaway.com\/?p=176"},"modified":"2014-08-23T11:37:34","modified_gmt":"2014-08-23T15:37:34","slug":"extracting-data-from-a-plot","status":"publish","type":"post","link":"http:\/\/www.joshuagallaway.com\/?p=176","title":{"rendered":"Extracting data from a plot"},"content":{"rendered":"<p><a href=\"http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-177\" src=\"http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM-1024x772.png\" alt=\"Screen Shot 2014-08-23 at 11.02.27 AM\" width=\"584\" height=\"440\" srcset=\"http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM-1024x772.png 1024w, http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM-300x226.png 300w, http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM-397x300.png 397w, http:\/\/www.joshuagallaway.com\/wp-content\/uploads\/Screen-Shot-2014-08-23-at-11.02.27-AM.png 1358w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n<p>All the time I end up trying to <strong>extract data from a published plot<\/strong>, for example with the XRD traces above. My brute force method is to load the plot into some image program, then draw straight lines to all the important features. Up above I&#8217;ve drawn lines to peaks L, C, G, and F using 30 degrees as the origin. The line lengths tell you exactly where the peak maxima are, after you normalize them to a line drawn along the axis to get the scale.<\/p>\n<p>Hey it&#8217;s a decent method and it works, but I was thinking how useful it would be to have a tool that reads an image file and can spit out the original data as a CSV. Turns out there are a few programs that do exactly that. I haven&#8217;t tried <a href=\"http:\/\/arohatgi.info\/WebPlotDigitizer\/\">WebPlotDigitizer<\/a> yet, but I will soon. If it&#8217;s the answer to all my hopes and dreams I&#8217;ll let you know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>All the time I end up trying to extract data from a published plot, for example with the XRD traces above. My brute force method is to load the plot into some image program, then draw straight lines to all &hellip; <a href=\"http:\/\/www.joshuagallaway.com\/?p=176\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/posts\/176"}],"collection":[{"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176"}],"version-history":[{"count":1,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":178,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions\/178"}],"wp:attachment":[{"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.joshuagallaway.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}