How to read a plot from an image?

Attached an image containing a graph. I wish to know that is there a way that MATLAB reads the graph automatically?

2 Comments

1. What do you want as a result? Sets of point or Equation of Curve?
2. Is scale fixed? Or you want user to input scale after image reading?
Sir, I need sets of points as answer. Scale is fixed. (The same as that in figure).

Sign in to comment.

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 25 Dec 2015
You can use imread to read it as an image.

2 Comments

Sir, As you said, I used imread and could read the image successfully. How to read the plot lines??
mr.nabhdeep bansal you cant read graph you extracted graph data to excel to read graph line values
,,,

Sign in to comment.

Walter Roberson
Walter Roberson on 25 Dec 2015
There are a number of tools in the File Exchange for digitizing graphs; see http://www.mathworks.com/matlabcentral/fileexchange/?term=digitize&sort=ratings_desc
I do not think any of them are fully automated though; that would require a lot of OCR work.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Asked:

on 25 Dec 2015

Commented:

on 5 Mar 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!