Annoying behavior saving eps figures in MATLAB 2014
2 views (last 30 days)
Life was good before I upgraded to MATLAB 2014. I had a script which plotted and saved multiple figures in .eps format. The file sizes were about 200k. I upgraded to MATLAB 2014, now the same script produces garbage: the figures have enormous white space page borders around them, plus the file sizes have exploded to 6 MB ea. I've spent hours reading these forums looking for solutions, and none of them work.
I'm running on 2013 MacBook Air with Yosemite.
Doug Hull on 26 Nov 2014
Please send the specifics of your case, code and old and new outputs, to www.mathworks.com/support
Without more details, it is hard to say what is happening. Sending this to support will get you going again as fast as possible.
Henrik on 27 Nov 2014
I don't know if this will solve the issue with the file size, but for me at least it solved the problem with white space outside the figure. Try to add this to the start of your script (or startup.m).
Ilja Maljutenko on 11 Jul 2016
Result of new feature called "vector primitives" https://se.mathworks.com/matlabcentral/answers/222479-bug-eps-pdf-matlab-2014b-surface-plot-contourf .
I've been also looking for solutions. http://se.mathworks.com/matlabcentral/answers/290313-why-is-vector-graphics-chopped-into-pieces
So far external python script have been only solution to join up patches in eps files.
Overall it seems to be new acceptable format for vector graphics -.-