colored eps export problem

Hi all,
I am having a problems with exporting a matlab figure in colored eps. I looked throughout the newsgroup's old questions without getting anything useful. IT would be great if someone could point me the right way.
While I am able to export a matlab figure in colored eps from the GUI 'Save as' command, both commands:
saveas(figure,'name','epsc');
print(figure,'name',-depsc2');
result in the saved/printed figure to be a black and white eps. Anyone knows why is this be happening?
Thanks in advance

1 件のコメント

Richard Quist
Richard Quist 2016 年 5 月 17 日
That is certainly unexpected. It would help to see a more complete example of code you use to construct the figure, and to know what version of MATLAB you are using.
Rich

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

回答 (1 件)

0 投票

use -depsc for colour images

1 件のコメント

raha ahmadi
raha ahmadi 2021 年 10 月 9 日
It was my problem too. thank you so much

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

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

製品

質問済み:

2016 年 5 月 17 日

コメント済み:

2021 年 10 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by