I used the following tags to put a figure in my latex in which to has 2 figures a and b and to appear as one figure behind each other :
\begin{figure}[ht]
\centering
\resizebox{\textwidth}{!}{%
\begin{tabular}{c c}
\includegraphics[width=2.0in] {fig1} &
\includegraphics [width=2.0in]{fig2} \\
\tiny a. Pure Aloha & \tiny b.~~ Slotted Aloha
\end{tabular}}
\centering
\caption{Comparision between pure Aloha and slotted Aloha and how they affected by the delay \cite{ahn2011design}}
\label{fig:1}
\end{figure}
But I got the text appeared above the image in my IEEE format as in this image:
Any suggestions ??


.epsfiles? If the answer is "yes" look at the links http://tex.stackexchange.com/questions/22063/how-to-fix-eps-with-incorrect-bounding-box or http://stackoverflow.com/questions/12682621/how-to-adjust-boundingbox-of-an-eps-file. If you see\includegraphics[width=2.0in] {fig1}, fig.1, for example, is without file extension. What\usepackageyou use? – Sebastiano Jan 28 '17 at 08:35