Reuse EPS file or obtain the values from EPS

I plotted some curves and saved that file into EPS. Now I have lost the source code to replot those curves. Could I edit EPS or somehow could I extract the curve values from EPS ?

Answers (1)

I tried to recover sine data from simple plot.
First you should convert eps file to plain svg (using Inkscape for example). Then you can open the svg file with text editor and copy desired path coordinates. Those values appear to be some kind of differentials of actual path coordinates, so cumsum will reveal actual shape of original plot. Next you should scale derived coordinates with the axis object coordinates (also found in text file of svg).
Probably ruler and pencil would be more appropriate tools for that task :)

1 Comment

Also there are a number of File Exchange contributions with tag:digitize that can assist in converting image data into coordinates.

Sign in to comment.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Asked:

on 7 Jan 2014

Commented:

on 12 Jul 2016

Community Treasure Hunt

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

Start Hunting!