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:

[![problem](https://i.stack.imgur.com/07my2.png)](https://i.stack.imgur.com/07my2.png) 

Any suggestions ??