Skip to content
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

Sometimes figure does not save properly #352

Open
HalonMallic opened this issue Mar 18, 2022 · 3 comments
Open

Sometimes figure does not save properly #352

HalonMallic opened this issue Mar 18, 2022 · 3 comments

Comments

@HalonMallic
Copy link

Sometimes when exporting a .pdf for example using the code, export_fig(['/Users/Me/Folder/Graph'], '-transparent', '-pdf', '-painters');, the figure doesn't save correctly and it will end up saving a very small blank square instead of the graph that I want to save.

Why does this happen/how can this be fixed?

@altmany
Copy link
Owner

altmany commented Mar 19, 2022

This is presumably a duplicate of issues #350 and #351, which were resolved in the latest version of export_fig. If this is not resolved in the latest version then let me know and I will reopen the issue.

@altmany altmany closed this as completed Mar 19, 2022
@anask07
Copy link

anask07 commented Jul 5, 2023

This is presumably a duplicate of issues #350 and #351, which were resolved in the latest version of export_fig. If this is not resolved in the latest version then let me know and I will reopen the issue.

I just attempted this in v3.39 and had the same issue. This is on an ARM Mac with MatLab 2021b.

@altmany altmany reopened this Jul 5, 2023
@esdcmc
Copy link

esdcmc commented Mar 29, 2024

I don't know if it's related or it can help at all. I had a 'ghostly' large grey column appearing on the left of the saved/printed graph (in jpg) thus resizing the actual graph to a smaller window to the right. This 'ghostly' column seemed to show instructions at random of my running macro.
I addressed this by increasing the pause time at line 403 of export-fig.m from 0.05 to 0.2: finger crossed it seems to work so far although I haven't rerun many figures yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants