Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB How to extract data from existing JPEG/TiFF graph?

  1. Oct 27, 2016 #1


    User Avatar
    Gold Member

    Is there any method to extract data from a graph in JPEG/TIFF format, using simple software such as MATLAB? I have a graph as shown below:


    I only have this picture but no raw data and I want to plot the black curve in this graph. How to get approximate numerical data of the x and y axis? Thank you.

    Attached Files:

  2. jcsd
  3. Oct 27, 2016 #2


    User Avatar

    Staff: Mentor

    I don't know how to do it simply in Matlab. For such tasks, I use DataThief.
  4. Oct 27, 2016 #3
    You can use getframe()

    Code (Text):
    structFrame = getframe(); % Get structure
    rgbImage = structFrame.cdata;
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted