Search Comments and Ratings

go

   
Date File Comment by Comment Rating
05 Nov 2014 Editing Matlab files in Vim Edit Matlab M-files in Vim editor (indentation, syntax highlighting, tags , mlint support) Author: Fabrice Nico Schlömer

The indentation is broken for switch statements (`end` is not properly indented).

07 Feb 2014 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Setting externalData to true by default was a mistake; a new release will be out shortly, fixing this.

05 Nov 2013 Guidelines for writing clean and fast code in MATLAB This document gives hints on how to write fast and good quality MATLAB code. Author: Nico Schlömer Nico Schlömer

@Mark Mikofski Definitely a good idea to add this.

02 Nov 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Anfänger Sounds like a bug. If you want it fixed, file a report at <https://github.com/nschloe/matlab2tikz/issues?state=open> with a minimal MATLAB example that highlights the misbehavior.

28 Oct 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@lyxicon

1. There is the option 'extraAxisOptions'. If that doesn't work for you, you could file a bug at <https://github.com/nschloe/matlab2tikz/issues?state=open>.

2. There's cleanfigure() to help you out.

3. That's possible, you're probably the first to use step/impulse plots with m2t. It'd be great if you could file a bug and provide minimal failing examples.

14 Aug 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Maria Filing your problems at https://github.com/nschloe/matlab2tikz/issues?state=open with some minimal example code that highlights what goes wrong would make it much easier to fix the issues.

05 Jul 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Gregor You'll have to specify a proper format. Try '%.3g'.

22 Mar 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Georg I could certainly make this an option. If you could file a bug at <https://github.com/nschloe/matlab2tikz/issues> and explain a little bit more about what format is needed, that'd be great.

19 Mar 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Karthick You can use the resulting file with `latex` (generating a PS-document) as well as `pdflatex`, fonts come out just as they are in the LaTeX document, you can customize your plot after it's been generated, and probably a bunch of other reasons. All in all, when you compare MATLAB's generated PDF with the compiled output of matlab2tikz, you'll notice a distinct difference in quality.

04 Mar 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@H VH Ayala: Try matlab2tikz('strict', true). That should put the ticks exactly where MATLAB has them.

07 Feb 2013 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Anke This is currently not possible with m2t alone, and I wouldn't even recommend it for line plots -- after all, m2t cannot tell which data is important for you and which can be stripped. I'd recommend for you to manually reduce the number of data points in your 3D plots until the TeX compilation time becomes bearable.

12 Dec 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Georg If you file a bug at https://github.com/nschloe/matlab2tikz/issues giving a few more details (like providing the PNGs that failed along with the MATLAB code), I can try to fix this.

20 Nov 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@H VH Ayala:
Do those styles allow for \usepackage{pgfplots}? That would be the only condition.
Also, by using Pgfplots' 'externalize' feature, you can convert those plots into PDFs which should be natively supported by any journal. (You may want to check out the 'standalone' option for matlab2tikz as well.)

17 Oct 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@gbernardi
matlab2tikz tries to be smart about how tags and labels look like, but may fail sometimes. Try setting 'parseStrings' to false.
If that doesn't help, a bug report with a small example code on https://github.com/nschloe/matlab2tikz/issues would be appreciated.

18 Feb 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

It does exist and is called 'minimumPointsDistance'.

17 Feb 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Yeah I'd need the MATLAB code (e.g. by mail). That said, the warning seems to be clear: "Color bar sizes will likely need tweaking." It probably says that for a reason. ;)

17 Feb 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Example code?

16 Jan 2012 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Tim: Easy. Just use

>> matlab2tikz( 'myfile.tikz', 'height', '\figureheight', 'width', '\figurewidth' );

for all of your figures and set \figureheight and \figurewidth once in your LaTeX document.
See the README.

27 Dec 2011 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

There's always interest in patches to matlab2tikz! You could send a pull request on GitHub, or send the patch through by mail (use git format-patch to get properly credited) or create a pull request on GitHub. I don't mind either way.

29 Nov 2011 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Hi Sebastien,

the #-issue should be fixed now; thanks for the report.
At the moment, I don't think pgfplots has a way of controlling the legend box aspect ratio in any way, but you may want to skim through its manual. Let me know in case you find something!

07 Jun 2011 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

@Alexander Klein: I implemented one or two things, you may wanna check out the latest release.
For future changes, it's best to submit a bug report at https://github.com/nschloe/matlab2tikz/.

19 May 2011 matlab2tikz/matlab2tikz A script to convert MATLAB/Octave into TikZ figures for easy and consistent inclusion into LaTeX. Author: Nico Schlömer Nico Schlömer

Well, the documentation may not be up-to-date all the time.
In general it's always worthwhile to take a peek at https://github.com/nicki/matlab2tikz/.
All the options are also listed in the source file itself of course, so you can always look at lines 125 ff. Should be pretty self-explainatory.

1) Not sure I understand what you mean.
2) You mean the image width? There are 'width' and 'height' arguments.
3) Option 'mathmode'.

Generally, if you found a bug or similar, it's easier for me to follow it up on GitHub.

Contact us