Hi, first of all thanks for the excellent tool!
I have the following problem: when I reduce the font size (for instance, to 8), the crop is no longer precise and it cuts off parts of the figure on the top and on the right by very few pixels.
Therefore, I'd like to adjust the crop by adding a few pixels to the top and to right margins. I've tried to dig into the code to adjust the margin settings, but with no success. How can I solve this problem? Thank you in advance for you answer!

Comment only

04 Dec 2014

matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.

@Ragheb: We also have some information on how to tackle your problem in our wiki at https://github.com/matlab2tikz/matlab2tikz/wiki/TeX-capacity-exceeded,-sorry

Comment only

04 Dec 2014

matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.

Hi Ragheb,
To increase memory when using large PGF or TIKZ figures, for MikTEx use the command line:
initexmf --edit-config-file=latex
opens an editor where you can put the new values. E.g.
main_memory=5000000
extra_mem_bot=5000000
font_mem_size=5000000
pool_size=5000000
buf_size=5000000
Afterwards call the next for updating the latex format files.
initexmf --dump=latex
FOr PDFlatex, replace in both cases latex with pdflatex

5

03 Dec 2014

matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.

Why Latex doesn't compile large tikz files?
I have tried matlab2tikz on a three dimensional sphere figure from matlab and it works perfectly because the corresponding tikz file is only 50KB. However, the figures I want to include in the tex file often exceed 100MB! Latex refuses to compile such files giving me the error :" TeX capacity exceeded, sorry [main memory size=5000000]".
Can you please advise me how to solve that problem?

Comment only

07 Nov 2014

matlab2tikz/matlab2tikz
A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX.

Comment only