Really nice tool! I've also had problems with eps2eps: when using plotyy, it removes the left y-axis. As mentioned in the comments, this is fixed for me by using Str = sprintf('ps2epsi %s2.ps %s.eps',TempName,FileName); instead. I also use matlabfrag instead of laprint, which in my opinion gives better results.
Extraordinary work! A lot better than LaPrint, I rarely need to fight this script. However, I do occasionally get a legend box that's too small for the legend text (the right hand side of the box cuts of a few letters). Usually solved by adding a "\," or two.
15 Sep 2009
LaPrint prints a MATLAB figure to file for neat inclusion in LaTeX documents.
Author: Arno Linnemann
Extraordinary work. However, I have two problems. The legend box sometimes gets too small, and must be enlarged manually. Also, when the x-axis has ticks as powers of 10, the "x10^n" does not appear in the eps. From inspecting the code, it seems this s only implemented for the y-axis.
Since updating to Matlab 2014b; my legends are no longer typeset correctly by matlabfrag, because matlab introduced the "legend" object class and the labels are therefore no longer recognised as text objects. The text in the legend is stored in a multi-line cell, which matlabfrag can't handle. Does anyone have a solution for this?
30 Sep 2014
A matlab figure to .eps and .tex file exporter, similar to LaPrint