Annoying behavior saving eps figures in MATLAB 2014
6 次查看(过去 30 天)
显示 更早的评论
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.
1 个评论
John Ho
2014-11-26
编辑:John Ho
2014-11-26
Also looking for a solution to this extremely annoying problem.
Specifically, I often need to save the figure generated by contourf() to eps in order to edit it on vector illustration software. This worked beautifully prior to MATLAB R2014b. The result now is a large file that seems to "grid" the image so that the file size is enormous.
回答(4 个)
Doug Hull
2014-11-26
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.
0 个评论
Henrik
2014-11-27
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).
set(0,'defaultfigurepaperpositionmode','auto');
0 个评论
Ilja Maljutenko
2016-7-11
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
Overall it seems to be new acceptable format for vector graphics -.-
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!