I have met a simple problem. Why my figures do not exhbit in the same section?
The code is,
\section{Figures}
\begin{figure}[!h]
\centering
\includegraphics[width=7in]{gr}
\caption{IR}
\end{figure}
\begin{figure}[!h]
\includegraphics[width=7in]{jd}
\caption{Cyc}
\end{figure}
But they turn up in different sections.
[!h]makes it highly likely that all figures go to the end of the document as it specifies the figures can not be placed at the top or bottom of a page or on a page on their own (latex usually warns and changes it toht) use[htp]and put\clearpagebefore the next section – David Carlisle Jun 21 '17 at 14:18