Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
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

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.