colored eps export problem

28 views (last 30 days)
Mariangela Panniello
Mariangela Panniello on 17 May 2016
Commented: raha ahmadi on 9 Oct 2021
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 Comment
Richard Quist
Richard Quist on 17 May 2016
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

Sign in to comment.

Answers (1)

Geeth Wijesiri Narayana Badal Arachchige
use -depsc for colour images
  1 Comment
raha ahmadi
raha ahmadi on 9 Oct 2021
It was my problem too. thank you so much

Sign in to comment.

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!