I have matlab figures in .jpg file how can I export data points of the graph in excel.
2 views (last 30 days)
Show older comments
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.
1 Comment
Walter Roberson
on 30 May 2018
Duplicates earlier https://www.mathworks.com/matlabcentral/answers/403025-i-am-using-this-code-to-convert-jpg-file-to-maltab-fig-but-in-matlab-lab-file-there-is-no-figure-r which also has answers.
Answers (1)
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.
0 Comments
See Also
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!