How to export non-blurry eps images?

Viewed 13062

I'm exporting an image in Matlab using the eps format, but it smooths the image. Matlab does not blur the image using other formats such as png. I would like to know how to export a non-blurry image with eps format. Here is the resulting image using png: enter image description here

And here is the resulting image using eps: enter image description here

10 Answers

not sure why it works but you can try doing the following:

eps2eps oldfile newfile

does the trick for me (on a mac os)

This page helped me a lot: http://tech.mof-mof.co.jp/blog/machine-learning-octave.html (written in Japanese, please use google translate for it)

And this is also helpful: Octave-Gnuplot-AquaTerm error: set terminal aqua enhanced title "Figure 1"...unknown terminal type"

I also answered at https://www.coursera.org/learn/machine-learning/discussions/weeks/2/threads/Dh-aRfqSEeaHSQ6l4xnh6g.

I reinstalled gnuplot like this:

$ brew cask install xquartz
$ brew cask install aquaterm
$ brew uninstall gnuplot
$ brew install gnuplot --with-aquaterm --with-x11 --with-qt  # you can show other options by `$ brew options gnuplot`

You may edit ~/.octaverc like this:

setenv("GNUTERM", "qt")

and in octave window, after typing "system gnuplot", then

set pm3d interpolate 2, 2

After saving the file, open octave-cli.app, and type

imagesc(magic(3)), colorbar

I got this.

enter image description here

Related