How to save matlab figures in .eps format

15 ビュー (過去 30 日間)
Zeab
Zeab 2019 年 2 月 20 日
回答済み: Zeab 2019 年 2 月 23 日
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!

回答 (2 件)

Walter Roberson
Walter Roberson 2019 年 2 月 20 日
Use print with driver -depsc (color) or -deps (grayscale)
  2 件のコメント
Zeab
Zeab 2019 年 2 月 23 日
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 2019 年 2 月 23 日
print(fig,'FilenameGoesHere','-depsc')

サインインしてコメントする。


Zeab
Zeab 2019 年 2 月 23 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by