Rank: 492 based on 170 downloads (last 30 days) and 1 file submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Zebb
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 May 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime latex, eps, utilities, psfrag, tex, graphics import 170 41
  • 4.88
4.9 | 26 ratings
Comments and Ratings by Zebb View all
Updated File Comments Rating
04 Apr 2011 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Herwig: The use of single dash or double dash with the --shell-escape option depends upon your LaTeX distribution. On my system, both variants work.

Fredrick: That is a pstool question, not a matlabfrag question. If you read the pstool documentation you'll see that you can specify \includegraphics options as options to \psfragfig, i.e.

\psfragfig[width=10cm]{...}

That said, the workflow I designed matlabfrag for is to resize the figure in matlab first, so as to prevent things like text running on top of tick labels, etc.

As for your other problem, I don't know what the problem it. Try updating your version of pstool.

26 May 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Hi Michael,

The way I would do it is to just set all fonts to the size corresponding to \small. Of course this won't change if you wish to change to document fontsize.

You could open the output .tex file, and edit the \matlabtextA, etc commands to use \small instead of \fontsize.

The reason I chose to use \fontsize is that the label positioning is dependent upon the chosen fontsize. This way, if it looks ok on the screen, it should look ok in the document too.

Regards,
Zebb

08 Apr 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Hi Benjamin,

The version checking bug should already be fixed in the latest version.

Regards,
Zebb

24 Mar 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Hi all,

Please disregard my use of \include in my comments above. Please use \input instead.

Cheers,
Zebb

21 Feb 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Hi All,

Viton: That should be possible, but I don't have time to do implement anything like that at the moment.

Andrey: That should only be necessary if you aren't grouping the figures properly. They placing \begin{psfrag} \end{psfrag} around your \include and \includegraphics.

Vincent: There isn't a way to do this using the default axis labels in matlab. You could however convert the axis labels to text objects. There are several functions that do this in the FEX, one is http://www.mathworks.com/matlabcentral/fileexchange/23841-format-tick-labels-extended (disclaimer - I haven't used this file myself)

David: What version are you using? You haven't provided enough information for me to diagnose the problem. Make sure you are using the latest version, and email me an example of the problem.

Hans: I did a quick test, and it looked the same in the document as it did on the screen. The easiest way to fix this would be to manipulate the position handles of legend, and if necessary the axis.

I also want to remind everyone that the comment section isn't a very good medium for receiving support.

Cheers,
Zebb

Comments and Ratings on Zebb's Files View all
Updated File Comment by Comments Rating
12 May 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime kevin

06 Mar 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime Nick

Fantastic little gem of a script!

However I've had some issues with labels not being coded in the PostScript file properly.. The number key and label is in the .tex file.. But appears to be missing it's partner in the postscipt.. And hence appears as '001' etc when processed. Has any one overcome this issue?

Cheers,
Nick.

18 Feb 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime Tobias

This is a great tool! Best way to prepare matlab figures for LaTeX. Thank you!

24 Oct 2012 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime Bernhard

Great work.

Only question is, why is it not naturally included in MATLAB?

05 Jul 2012 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime Peter

Thank you for an extremely useful tool.

To avoid warning messages, when supplying absolute paths, you might want to replace

if ~exist(['./',pathstr],'dir')

with

if ~exist(['./',pathstr],'dir') && ~exist(pathstr,'dir')

or something...

Top Tags Applied by Zebb
eps, graphics, graphics export, graphics import, latex
Files Tagged by Zebb
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 May 2010 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime latex, eps, utilities, psfrag, tex, graphics import 170 41
  • 4.88
4.9 | 26 ratings

Contact us