Reputation: 119
Is it somehow possible to get signal data from figure, to save the vector or matrix of the data to the Workspace?
We happend to make a lots of measurements on a real system in school, but ve saved only figures of the measutrement and now we need to use some of the signals from the figure and use them in another figure for comparison.
Upvotes: 0
Views: 107
Reputation: 672
You can load the figure in Matlab and go to View->Properties, to pull the data out of the plot's properties e.g. for a line graph plot:
You can get at the XData and YData properties and copy/paste the values of out it e.g.
Alternatively, as I had to do once when this method failed, you can save the figure as EPS/postscript and try to pull the data out of the postscript file in a text editor (!)
Upvotes: 2