altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.27k stars 365 forks source link

Wrong clipping export_fig v 3.25 #353

Closed AndreZeug closed 2 years ago

AndreZeug commented 2 years ago

Using the latest version of export_fig (3.25) I receive 'empty' files when using: export_fig(figFileName,'-q100','-append','-silent', fig1); Checking the pdf file Figure_v3.25.pdf with Adobe Illustrator, I can see the content in the background. Going back to export_fig (v3.24) it works like expected Figure_v3.24.pdf

Any Idea, what could be wrong? (Using Win10, R2022a, gs9533w64)

altmany commented 2 years ago

Please run the following command: print(fig1, '-loose', '-painters', '-r864', '-depsc2', 'test.eps') and send me the resulting test.eps file

AndreZeug commented 2 years ago

Dear Yair, is it required to install export_fig (3.25) for the test? To my understanding it would only use Matlab and maybe gs9533w64 - correct? By the way, I still face the error of Issue #349 using export_fig (v3.25) and gs9550w64.

test.zip

altmany commented 2 years ago

You just need basic Matlab for the test

AndreZeug commented 2 years ago

Dear Yair, did you recognized the "test.zip" which contains the requested 'test.eps' in my previous post? I forgot to emphasize the content of the zip file. Is the test.eps sufficient?

altmany commented 2 years ago

Please retry using the latest version (3.27) - I have a feeling that it solves this problem. Let me know what happens.

altmany commented 2 years ago

No response, closing this issue