So I created some graphs in Excel, saved them as PDFs and used the following code to import them to LaTeX:
\newpage
\begin{figure}[htbp]
\centering
\includegraphics[width=0.95\textwidth]{white1.pdf}
\caption{This figure shows the commulative oxygen production rate of white light in iteration number 1. The SEM bars show reading error from the pipette. }
\end{figure}
\newpage
\begin{figure}[htbp]
\centering
\includegraphics[width=0.95\textwidth]{green2.pdf}
\caption{This figure shows the commulative oxygen production rate of green light in iteration number 2. The SEM bars show reading error from the pipette. }
\end{figure}
\newpage
\begin{figure}[htbp]
\centering
\includegraphics[width=0.95\textwidth]{white3.pdf}
\caption{This figure shows the commulative oxygen production rate of green light in iteration number 3. The SEM bars show reading error from the pipette. }
\end{figure}
\newpage
\begin{figure}[htbp]
\centering
\includegraphics[width=0.95\textwidth]{green4.pdf}
\caption{This figure shows the commulative oxygen production rate of green light in iteration number 4. The SEM bars show reading error from the pipette. In this figure there is overlapping of SEM bars that show no significance difference }
\end{figure}
\newpage
\section{Discussion}
However the problem is that the new page at the very end (discussion) is not in order. It gets injected after the first figure.
So if the pages were numbered like this:
fig1, fig2, fig3, fig4, dis1
everytime I try to create the dis1 page by \newpage I get the following output:
fig1, dis1, fig2, fig3, fig4
Anyone know what's happening?
:)Floats are meant to float around in your document. You use the float specifiershtbpto say put the floathere if possible, otherwisetop of the page, otherwisebottom of the page, otherwise on apage of floats. When all these fail (typically with an oversized graphic), further processing of floats is suspended until later in the document. Using\clearpageflushes this build-up. On a related note - isgreen2.pdflarger than the other images? Did LaTeX complain and give any wanrings? – Werner Nov 24 '11 at 08:26.logfile. If you're interested in finding out what this.logfile is all about and how to interpret it, read Understanding the Log file. – Werner Nov 24 '11 at 15:11