Notes to myself on little tricks and tips I find useful in Matlab. 2015 version. Last time I did this it was 2013.
Exporting surf plots for Illustrator in Matlab
Exporting surf plots is a pain, one of those things that is perennially a problem in Matlab but they seem to never get around to fixing. There are a couple of quick fixes. First, this thread is helpful. Use the painters renderer and it forces the plot to export vectorized. So something like:
print -depsc2 -painters test.eps
Or, if you want a nice self-contained program, try the export_fig package, and then you can just do something like:
I prefer the export_fig package, because it preserves the tickmarks and such that I spent so much time making.