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 ??
.eps
files? If the answer is "yes" look at the links tex.stackexchange.com/questions/22063/… or stackoverflow.com/questions/12682621/…. If you see\includegraphics[width=2.0in] {fig1}
, fig.1, for example, is without file extension. What\usepackage
you use?