colored eps export problem
Show older comments
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
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
Answers (1)
Geeth Wijesiri Narayana Badal Arachchige
on 5 Sep 2019
0 votes
use -depsc for colour images
1 Comment
raha ahmadi
on 9 Oct 2021
It was my problem too. thank you so much
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!