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

r-option does not work for vector outputs #189

Open
cbernet-rwth opened this issue Mar 29, 2017 · 2 comments
Open

r-option does not work for vector outputs #189

cbernet-rwth opened this issue Mar 29, 2017 · 2 comments

Comments

@cbernet-rwth
Copy link

cbernet-rwth commented Mar 29, 2017

Hello,

using the export_fig version from 22/03/17 and R2016b it makes no difference whether I type
export_fig test_rstandard -pdf or
export_fig test_r50 -pdf -r50
respectively
export_fig test_rstandard -eps or
export_fig test_r50 -r50 -eps

All output files have the same size (depending on output format) and appearance. Can you please help me?

Thanks in advance,
Christian

@altmany
Copy link
Owner

altmany commented Sep 18, 2017

This appears to be an internal bug in Matlab's print command, which apparently does not honor the -r parameter in many cases:

print(gcf, '-r9999', 'test.png')  % same as -r0 or -r90 or -r900

At the moment I cannot think of any workaround to this, since export_fig uses Matlab's print command internally.

@cbernet-rwth
Copy link
Author

cbernet-rwth commented Sep 18, 2017 via email

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

No branches or pull requests

2 participants