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

2 views (last 30 days)
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)

Samatha Aleti
Samatha Aleti on 29 Apr 2020
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(___)

Community Treasure Hunt

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

Start Hunting!