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

figures with text overlay (using the text built-in) not saved if units are set to 'normalized' #373

Closed
jay14bay opened this issue Apr 13, 2023 · 7 comments

Comments

@jay14bay
Copy link

see attached example script and output
ex1-text
ex2-notext
export_fig_issue.m.zip

@altmany
Copy link
Owner

altmany commented Apr 13, 2023

I cannot reproduce the problem - I see the text correctly in both cases. Try again using to the latest version of export_fig.

@jay14bay
Copy link
Author

jay14bay commented Apr 13, 2023 via email

@altmany
Copy link
Owner

altmany commented Apr 13, 2023

yes, I also see the text in the files (they look exactly the same except for the title).

Are you using export_fig v3.36? If so, then try to call drawnow; pause(0.5); immediately before the 2nd call to export_fig, see if this changes anything.

@jay14bay
Copy link
Author

yes, using the version I just downloaded, adding that pause did not fix it!

@jay14bay
Copy link
Author

using R2022b

@jay14bay
Copy link
Author

aha - if i remove '-m4' from the export_fig call it saves the text (low quality figure)

altmany added a commit that referenced this issue Feb 21, 2024
… some cases (issue #373); added check for invalid ghostscript installation (issue #365)
@altmany
Copy link
Owner

altmany commented Feb 21, 2024

Presumably fixed in the latest export_fig commit (v3.44)

@altmany altmany closed this as completed Feb 21, 2024
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

2 participants