Rank: 935 based on 169 downloads (last 30 days) and 1 file submitted
photo

Arno Linnemann

E-mail
Company/University
University of Kassel

Personal Profile:

 

Watch this Author's files

 

Files Posted by Arno Linnemann
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Sep 2004 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann graphics import, graphics export, latex, tex, postscript, figure 169 72
  • 4.47368
4.5 | 81 ratings
Comments and Ratings on Arno Linnemann's Files View all
Updated File Comment by Comments Rating
29 Oct 2013 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann Johannes Schmitz

On Ubuntu 13.04 I am getting this error:
/usr/bin/gs: /opt/MATLAB/R2013a/bin/glnxa64/libtiff.so.5: no version information
available (required by /usr/lib/libgs.so.9)

I copied the libtiff.so.5.1.0 from my system folder into the Matlab folder and changed the symolic link (libtiff.so.5) from libtiff.so.5.0.5 to libtiff.so.5.1.0 as a workaround.

08 Oct 2011 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann Thomas Clark

Potentially very useful, as this is an area in which the Mathworks' own solutions are woeful with no signs of improvement. However, with no updates since 2004 I'm not holding my breath for vital fixes to this utility.

For me, the main problems are:
- using texShop on a Mac, and the tags simply aren't being updated so are typeset in the finished document as x01, x02 etc (to be fair this might be a latex issue).
- axes scales (x10^p etc) are placed incorrectly
- legend sizes aren't handled

... and that's before trying anything challenging like having patch objects or 3D plots etc.

Some users may consider googling for psfragx and psfragx.m, which allow overlays of pictures and inclusion of graphics in a more flexible way within latex. Still reliant on Laprint though, so the bugs above won't go away.

24 Aug 2011 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann Pavle Boskoski

There is a small Bug in the script when using it with 3D plots. The z-axis is not preserved. The solution is:
The lines 1189 to 1191 and 1782 to 1784 should be changed from:
-set(zlimmodeauto,'ylimmode','manual')
-set(ztickmodeauto,'ytickmode','manual') -set(zticklabelmodeauto,'yticklabelmode','manual')

to:
+set(zlimmodeauto,'zlimmode','manual') +set(ztickmodeauto,'ztickmode','manual')
+set(zticklabelmodeauto,'zticklabelmode','manual')

The only problem was a typo, when setting zticklabel modes the actual property was ylabel.

Great work BTW!

11 Aug 2011 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann sweta

11 Feb 2011 LaPrint LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents. Author: Arno Linnemann Waseem Tahir

These type of programs seem very nice at first glance, however you come to trouble when it come to real issues. i wasted about 3 hours on laprint, however at end i come to conslusion that title('$\hat{a}$','Interpreter','latex') is the best. you loose flexibility when using laprint.

Contact us