-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forcing painters renderer breaks images #262
Comments
I believe that the problem is due to internal bug(s) in Matlab's builtin print(gcf, '-loose', '-opengl', '-r864', '-depsc2', 'test.eps') If you see the same problems, then you should report these to Mathworks ([email protected]). Let me know what happens. |
@altmany thanks for that, so I did run this through using the command above (with a tweak to the filename) and got this: So it does indeed appear to be an issue with |
@altmany and for completeness, this is the second figure which also checks out fine.. I do note the file size has jumped considerably though from 6.8 to 25.5Mb. |
Email me the *.fig file for the figure with the charts and I will investigate - altmany (at) gmail |
@altmany thanks for this, I have sent these through via email. Happy holidays! |
@durack1 - I ran your figures through Matlab's builtin print(gcf, '-loose', '-opengl', '-r864', '-depsc2', 'test-opengl.eps') % ok
print(gcf, '-loose', '-painters', '-r864', '-depsc2', 'test-painters.eps') % not ok This proves that it's a problem with Matlab's builtin |
I pulled the latest version (26eb699) of export_fig yesterday, so this should be directly reproducible.
This issue replicates #107 (superscripts in figure axes), but also goes further than this as the output from the
-opengl
vs-painters
renderer option yields very different (and incorrect) output. This can be most easily described with examples.So I generate a figure which looks fine on the screen, and using
-opengl
or-painters
I get the following, for completeness the command is (with either renderer specified):So the OPENGL output looks like
And the PAINTERS output looks broken, with the fill seeming to be mixed across layers, like
A similar issue also occurs with another figure, so
OPENGL
PAINTERS with text missing along with lines that should be bolded not in the Pacific and Indian oceans
Is this an export_fig issue, or matlab?
For completeness:
The text was updated successfully, but these errors were encountered: