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

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

Answers (1)

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


Find more on Contour Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by