MATLAB Answers

Huge file size of figures printed in vector format (e.g. eps) with -painters renderer?

31 views (last 30 days)
Jaime Palter
Jaime Palter on 23 Nov 2015
Answered: Ilja Maljutenko on 12 Jul 2016
Between submitting a manuscript and receiving its reviews, I upgraded to Matlab 2015a. I am now updating the figures in response to the reviews. The plots are information-rich, some containing a filled contour plot behind a quiver plot. The old version of Matlab handled the graphics beautifully, with average file size < 1 MB. I am using identical scripts to plot, but now the average file size is > 30 MB, making editing and uploading untenable. The final print command is:
print -painters -depsc filename.eps
I've seen that others have posted similar questions, but cannot find a work-around that solves it.

  0 Comments

Sign in to comment.

Answers (1)

Ilja Maljutenko
Ilja Maljutenko on 12 Jul 2016
Since new graphics engine splits objects into small pieces when exporting with painters (each containing information about its characteristics), then there is nothing to do but downgrade.
I wish there would be at least some reasonable response from Mathworks -.- . Hopefully something is hatching under cover of silence.

  0 Comments

Sign in to comment.

Sign in to answer this question.