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

linewidth <1 becomes 1 in exported EPS/PDF #90

Open
moffat opened this issue Jul 22, 2015 · 1 comment
Open

linewidth <1 becomes 1 in exported EPS/PDF #90

moffat opened this issue Jul 22, 2015 · 1 comment

Comments

@moffat
Copy link

moffat commented Jul 22, 2015

This seems like a Matlab bug hitting export_fig, and similar to #31. So:

h = plot([0 0],[0 1],'linewidth',0.9); export_fig test01 -deps; % results in a line width = 1
h = plot([0 0],[0 1],'linewidth',1.1); export_fig test01 -deps; % results in a line width = 1.1

I have the latest version of export_fig running on 2015b (thanks for all the good work!).

tnowotny added a commit to tnowotny/export_fig that referenced this issue Nov 26, 2015
… Matlab R2015a.

I have not tested this on any other versions.
This fix is known to work on MAC OS X 10.10.5 with Matlab R2015a (8.5.0.197613)
@altmany
Copy link
Owner

altmany commented Feb 6, 2016

I was just informed by MathWorks that the line-width issue that affected R2014b-R2015a was fixed by them in Matlab R2015b. I guess this means I'll need to incorporate code that checks for the release version and acts accordingly. Arghhh.... I'll get around to it someday I guess... :-(

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