# How can I customize a plot produced by matlab and exported by matlab2tikz script as I would do with subfigures and the \includegraphics command?

I.e: I had my plots arranged with a 3-in-a-row style with this code:

\begin{figure*}
\centering
\subfigure[Figure A]{\includegraphics[width=55mm]{a.jpg}}
\subfigure[Figure B]{\includegraphics[width=55mm]{b.jpg}}
\subfigure[Figure B]{\includegraphics[width=55mm]{c.jpg}}
\caption{Small files}\label{fig:small_files}
\end{figure*}


Instead for \includegraphics command I would like to have this

\newlength\figureheight
\newlength\figurewidth
\setlength\figureheight{50mm}
\setlength\figurewidth{55mm}
\input{myfile.tikz}


for including my graph as tikz graph from the matlab2tikz script. Is that possible?

-
 Yes. Have you tried? Add \usepackage{pgfplots} to the preamble of your LaTeX-document, and you should be ready to go. You don't have to define and set the lengths (\figureheight and \figurewidth) for every figure of course (unless you want them to have different sizes). – Torbjørn T. Jan 5 at 22:48