How to get the data from a contour plot imagine in png

Hi,
I nedd to get the data out of a contour plot avalaible in png (or similar). Do you have any matlab code to suggest? There are many codes to take single data point from a xy graph image, but I am looking for a contour plot. I can see it should be possible, is there anything already developed?
Thank you,
Isabella

Answers (1)

Hi,
As per my understanding, you have a “png file and want to extract the contour data from the file. You can use the function “imcontour” to do this with the following syntax to get the contour data:
[C, h] = imcontour(___)

Categories

Find more on Images in Help Center and File Exchange

Asked:

on 26 Apr 2020

Answered:

on 29 Apr 2020

Community Treasure Hunt

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

Start Hunting!