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 Comment

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)

use -depsc for colour images

Categories

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

Products

Asked:

on 17 May 2016

Commented:

on 9 Oct 2021

Community Treasure Hunt

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

Start Hunting!