Thursday, September 15, 2011

[Matlab] Generation of nice and light .eps from matlab figures

*From matlab:
-> generate a bitmap file with a good resolution
hX=figure(X)
...
print(hX,'-dtiffn','-r500','name_of_the_output_file');

*In inkscape (in French !):
-fichier/importer -> name_of_the_output_file.tif
-fichier/propriétés du document -> ajuster la page à la sélection
-define the quadrangle that will be the frame of the final image
-select the imported image and the frame
-object/découpe/définir
-fichier/propriétés du document -> ajuster la page à la sélection
-fichier/save as -> .eps

Matlab:
http://www.mathworks.com/
Inkscape:
http://inkscape.org/

No comments:

Post a Comment