I have matlab figures in .jpg file how can I export data points of the graph in excel.

2 views (last 30 days)
I have matlab figures in jpg file how can I export data points of the graph in excel. I attached example can any one help.

Answers (1)

Image Analyst
Image Analyst on 29 May 2018
Try using ginput() to identify endpoints of the axes, then use imfreehand() to get the coordinates of the curve, then scale them to get the calibrated points. Sorry, I don't have code for this, you'll have to write it.

Categories

Find more on Interactive Control and Callbacks 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!