Reuse EPS file or obtain the values from EPS

28 vues (au cours des 30 derniers jours)
Aravin
Aravin le 7 Jan 2014
Commenté : Walter Roberson le 12 Juil 2016
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 ?

Réponses (1)

Ilja Maljutenko
Ilja Maljutenko le 12 Juil 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 commentaire
Walter Roberson
Walter Roberson le 12 Juil 2016
Also there are a number of File Exchange contributions with tag:digitize that can assist in converting image data into coordinates.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by