I am fairly new to Latex and I'm having problems with some figures. I have some graphs that need to have a caption, so I put them in a figure environment in order to add it, but I'm having a lot more space between the caption and the following text than in a normal figure.
Code for a normal figure:
Code: Select all
\begin{figure}[htp]
\centering
\includegraphics[width=14cm]{images/Captura13}
\caption{Flow velocity vs Pressure drop. Influence of Reynolds number}
\label{fig:une-autre-image}
\end{figure}
Space is perfectly fine.
Code for the graph figure:
\begin{figure}[ht]
\centering
\begin{tikzpicture}
\begin{semilogxaxis}[
...
]
\addplot[....]
\end{semilogxaxis}
\end{tikzpicture}
\caption{Caption here}
\label{fig:une-autre-image}
\end{figure}
Any proposal for this problem ? Is there another way for adding captions to my graphs?
Forgive my ignorance!
Thanks a lot.