Thursday, July 31, 2014

Saving EPS Images in Matlab

Matlab imwrite function does not work for saving EPS format (though some comments on internet say that it is possible by sending the color values to a colormap). One very simple solution is using;

im = imread('image.png');
figure, imshow(im);
print -depsc image2.eps


No comments:

Post a Comment

Setting Jupyter and Tensorflow on Google Cloud Platform

https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52