I have 2 figures with same meaning, So I put them in subfigure
package, to make it easy to show their similarity.
Here is the code that I used:
\usepackage{subfigure}
\begin{figure}[H]
\centering
\subfigure[]
{
\includegraphics[width=5.5cm, height=3.5cm]{Pattern_Images2/Result_Paper_17.eps}
}
\subfigure[]
{
\includegraphics[width=3.5cm, height=3.5cm]{Pattern_Images2/Result_Paper_24.eps}
}
\label{fig:Miss_Paper2417}
\caption{Misclassification because of the distance (a)Paper \cite{Paper17} (b)Paper \cite{Paper24}}
\end{figure}
I call the pic by
Figure \ref{fig:Miss_Paper2417}
The picture appear correctly, but the problem is when I call them in my paragraph, The figure number and caption are not correct..
Im using WinEDT and bibtxtmng
\documentclass{...}
and ending with\end{document}
.\label
after (or within) the caption. See Why does an environment's label have to appear after the caption?subfigure
package is considered deprecated. You should consider using either thesubcaption
package -- as is done in @sandu's answer -- to thesubfig
package.