Rank: 155099 based on 0 downloads (last 30 days) and 0 file submitted


Cambridge University

Personal Profile:


Watch this Author's files


Comments and Ratings by Charlie View all
Updated File Comments Rating
29 Dec 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

17 Sep 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

Hi Zebb,

Thanks very much for the quick response.

crop=preview did fix it for me. Some of the legends overshoot the figures, but I imagine this is why I should install pdfcrop. I'll summon the courage to install perl if I need to.

I was also making another mistake with my own figures which returned the same error. I was using the tex interpreter. Commands like \zeta were getting left in the labels and causing latex to return the errors.

Thanks again.

16 Sep 2013 matlabfrag A matlab figure to .eps and .tex file exporter, similar to LaPrint Author: Zebb Prime

This package looks great.

Unfortunately, I cannot get the package to run smoothly.

When I run the (very helpful) test package, I can only get the figures to appear if I run using the latex>ps route.

If I run pdflatex, only figures 7 and 8 are succesfully included in the document. The other figures have a red box which reads "An error occured processing graphic ...". The log file is long, but I can't find in it what the problem seems to be.

I've looked around the web for a couple of hours. There is an error in pstool reported here http://tex.stackexchange.com/questions/60084/pstool-pdflatex-not-getting-pstool-to-work-latex-error-file-not-found, but I have the corrected update of pstools. I've checked that I have the -shell-escape option working correctly. Also, I can get laprint to work with my pdflatex setup (although I have to alter the tex document slightly).

Does anyone have any suggestions of what I might be doing wrong?

Many thanks in advance.

I am using TexnicCenter 2.0 with Miktex 2.9, matlabfrag v0.6.16 and pstool v1.5a.

14 Aug 2012 Rapid lossless data compression of numerical or string variables Rapidly compresses (or decompresses) Matlab variables in memory Author: Michael Kleder

I have data that I believe was compressed using the zlib library (http://zlib.net/).

Using this script I get the error:

Subscript indices must either be real positive integers or logicals.

Error in dunzip (line 37)
M = typecast(Q,ct{cn});

This error is produced because c at line 23 is not assigned to any value.

I tried making the change suggested by Jesse Hopkins above, but got a different error as follows:
Java exception occurred:
java.io.IOException: Not in GZIP format

at java.util.zip.GZIPInputStream.readHeader(Unknown Source)

at java.util.zip.GZIPInputStream.<init>(Unknown Source)

at java.util.zip.GZIPInputStream.<init>(Unknown Source)

Error in dunzip_ch (line 23)

Do you have any suggestions of what my mistake is?

02 May 2012 axescoord2figurecoord Transform axes coordinates in current figure units coordinate. Author: BenoƮt Valley

This is a much needed function and works well. Thank you.

It would be great if the reference in the matlab manual to dsxy2figxy could be changed to mention this function. I wasted a lot of time trying to work out what was going on with dsxy2figxy. Even would be helpful if this function was included in matlab. How does this kind of decision get made?

Also, would be good if the function could work irrespective of the figure units, not just for normalised units.

Contact us