I created a figure in Matlab and converted it to a .tikz file, using the standard available files.
In my Latex file I'm using the tikz/pgf/pgfplots preambles (I'm actually using LyX). There I add the following code:
Code: Select all
\begin{figure}
\centering
\newlength\figureheight
\newlength\figurewidth
\setlength\figureheight{6cm}
\setlength\figurewidth{6cm}
\input{mysphere.tikz}
\caption{My plot}
\label{fig:velocity} \end{figure}