问题
I wonder why I have a very bad rendering when I use the Painters custom renderer in figure Export Setup? Look at this image which has used OpenGL:
and this one, which has used Painters.
What the hell is going on here?
回答1:
There's a bug in 2014b-2015a. The easiest way to fix this is to upgrade to 2015b or newer.
I had a workaround where I used matlab2tikz but that took a bit of work for my application.
I don't believe there to be a workaround that can create .png files from Matlab that works on those versions of Matlab (even export_fig has the same problem).
来源:https://stackoverflow.com/questions/43658656/bad-rendering-with-matlab-and-painters-vector-format