Python Forum
Python modules to extract data from a graph?
Thread Rating:
  • 2 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python modules to extract data from a graph?
#1
It seems they are called plot digitizers. 
I want to be able extract data from a graph, in a nice dataframe type format.

Currently, mainly interested in line graphs. Is there anything out there like this? My searches didn't return anything. 

Thank you.
Reply
#2
You might look at this post and see if it comes close to what your aiming for.
https://www.johndcook.com/blog/2016/04/2...e-a-graph/
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#3
(May-06-2017, 08:34 PM)sparkz_alot Wrote: You might look at this post and see if it comes close to what your aiming for.
https://www.johndcook.com/blog/2016/04/2...e-a-graph/



Thank you. I had seen that before creating this question, but when I went over the code, it seems like he's loading  data(a csv file)? I was confused by that as I thought the whole purpose was to create data.
Reply
#4
he (Cook) mentioned Web Plot Digitizer in passing (it's a link in his text).  his article focused more on what to do with the results.  he also included a good point "Then as a sanity check, plot your reconstruction to see if it looks like the original".  at least do that with your data if you don't do much else. the Cook article refers to the Rohatgi article which really has what you want (or at least one of).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply
#5
Hi folks,

If anyone is interested, we have launched a free graph digitizer. You can use it to extract 1000's of points on a spectral curve in seconds. Give it a try and let me know what you think.


https://www.opticsforhire.com/graph-digitizer

John

User has been warned for this post. Reason: Off topic - not related to Python
Reply
#6
There are a few self-developed scripts in Python, like this one. Or You try a dedicated software program, like plotdigitizer. Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to extract 1 or 2 bits of data from MS project files? cubangt 8 945 Feb-16-2024, 12:02 AM
Last Post: deanhystad
  Why can't it extract the data from .txt well? Melcu54 3 646 Aug-20-2023, 10:07 PM
Last Post: deanhystad
  How to see the date of installation of python modules. newbieAuggie2019 4 1,466 Mar-31-2023, 12:40 PM
Last Post: newbieAuggie2019
  python extract mg24 1 918 Nov-02-2022, 06:30 PM
Last Post: Larz60+
  python Extract sql data by combining below code. mg24 1 914 Oct-03-2022, 10:25 AM
Last Post: mg24
  SQL Alchemy help to extract sql data into csv files mg24 1 1,679 Sep-30-2022, 04:43 PM
Last Post: Larz60+
  How to extract specific data from .SRC (note pad file) Shinny_Shin 2 1,225 Jul-27-2022, 12:31 PM
Last Post: Larz60+
  Python modules for accessing the configuration of relevant paths Imago 1 1,324 May-07-2022, 07:28 PM
Last Post: Larz60+
  DELETE Post using Python FaceBook Graph API BIG_PESH 0 1,423 Mar-24-2022, 08:28 PM
Last Post: BIG_PESH
  Build a matrix by pressing buttons of an interface in Tkinter which extract data from juandiegopulla 1 1,897 Sep-13-2021, 07:28 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020