How to save matlab figures in .eps format

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)

Use print with driver -depsc (color) or -deps (grayscale)

2 Comments

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.
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

Asked:

on 20 Feb 2019

Answered:

on 23 Feb 2019

Community Treasure Hunt

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

Start Hunting!