Clear Filters
Clear Filters

Reuse EPS file or obtain the values from EPS

47 views (last 30 days)
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)

Ilja Maljutenko
Ilja Maljutenko on 12 Jul 2016
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
Walter Roberson
Walter Roberson on 12 Jul 2016
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.


Find more on Printing and Saving 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!