nschloe/matlab2tikz — pull request #106 by MagicMuscleMan (2012-05-18 18:14:23+00:00)
Title: Fix spacing after plots; Add basic legend support

Hi Nico,

please pull the commits.

- The first commit was more or less automatically done by my editor and should not harm.

- The second commit fixes the problem, that a line break in TeX is identical to a space. Unintended spaces are a very annoying problem in TeX, as they might be hard to identify. In an tikzpicture environment, spaces are ignored, but directly after a tikzpicture environment, spaces do matter.

- The third commit might be the most controversial one and adds basic support for legends in Octave and is untested in Matlab. Please pick the first two commits, even if you do not want to have this commit, as it might fail in your tests with Matlab.

Cheers
Patrick