Binary package “matlab2tikz” in ubuntu trusty

converter of Octave plots to TikZ figures (for integration into LaTeX)

 matlab2tikz is an Octave script for converting Octave figures into native
 TikZ/Pgfplots figures, which can then easily be incorporated into a LaTeX
 document. It supports the conversion of most Octave figures, including 2D and
 3D plots.
 .
 This package is also compatible with the (nonfree) MATLAB software.