How to extract coordinate values from a graph in Matlab

I have a graph in a png picture and I want to extract the coordinates from this graph and then I want to draw it by my self in Matlab.

Answers (1)

3 Comments

Thanks a lot for your help. I downloaded the file and unzzipped it. Then it needed a jpg image, so I converted my png picture into a jpg picture. Then I tried to run it like the following:
>> digitizeGraph('Figure4.jpg',3)
But it gave me the following error:
Error using image
Color data must be numeric or logical values.
Error in imagesc (line 52)
hh = image(varargin{:}, 'CDataMapping', 'scaled');
Error in digitizeGraph (line 13)
imagesc(imageName);
I am not the author of that file, nor have I ever used it. Contact the author.
ok dear thanks for your help.

Sign in to comment.

Categories

Find more on Networks in Help Center and File Exchange

Asked:

on 13 Oct 2022

Commented:

on 13 Oct 2022

Community Treasure Hunt

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

Start Hunting!