How to save matlab figures in .eps format

51 views (last 30 days)
Zeab
Zeab on 20 Feb 2019
Answered: Zeab on 23 Feb 2019
Dear All,
I wanted to generate the .eps formate of a figure in matlab.I wonder if anyone recommend me the steps to do so either matlab or any other softwares.
Thank you!

Answers (2)

Walter Roberson
Walter Roberson on 20 Feb 2019
Use print with driver -depsc (color) or -deps (grayscale)
  2 Comments
Zeab
Zeab on 23 Feb 2019
Dear Walter Roberson,
Can you clarrify it please?,I have figures in matlab and I want to use .eps formats while I am inserting them in latex documentation.
Walter Roberson
Walter Roberson on 23 Feb 2019
print(fig,'FilenameGoesHere','-depsc')

Sign in to comment.


Zeab
Zeab on 23 Feb 2019
Dear Walter Roberson,
I just tried it by saving the input figure in a directory folder with a file name of Customfig1,then ,I directly typed the command print(Customfig1,'myepsfig','-depsc') in the command window,something wrong that i didn't get well

Categories

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!