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

Christoph

E-mail
Company/University
TU Berlin

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Christoph
Updated File Comments Rating
25 Mar 2013 matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer

Matlab2Tikz is a great tool! Thanks a lot for sharing!
@ Nico: You did a fantastic work which helps me a lot. However, there is a minor thing you might want to change in a future release (currently unsing 0.3.2): If one is trying to convert a contour(f) plot and include the result in a tex file, one gets in trouble with the alignment. This is caused by the preamble of the resulting file, with some blank lines and the \definecolor command. In my latex distribution (miktex) every linebreak causes a small shift to the right (propably a 'blank' is interpreted) and as more colors are defined as further the figure is shifted. To avoid this behavior I added %% where the \defincolor is set up, and thus it reads: sprintf('\\definecolor{%s}{rgb}{%.15g,%.15g,%.15g}%%\n'
To get a really tight boundary box, some other lines in the preamble might need %-sign, too.
If you want me to, I can send you a simple example showing the problem.

Best regards,
Christoph.

Contact us