More than once, I have found an old .fig file, but I can't find the data set that was used to create it. getfigdata.m will examine a figure and return the data for all of the lines in a figure.
This code has helped me so much - it is really key to my work and works so well... makes Matlab figure generation (and extraction) a dream. Thank you
I was searching for the similar thing
Excellent work. Exactly what I was searching for.
many many thanks for your wonderful work,to my great joy,it can extract data from a *.fig with more than 1 axes.Thanks again!
v1.1: includes line styles, to help identify individual lines