Possible Duplicate:
Force figure placement in text
Quite new to LaTeX so I apologize if this is a rookie/obvious error. I'm trying to include some figures in a college report I'm doing. However, the figures keep popping up all over the place. My source looks something like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit.Curabitur convallis
augue et nisl eleifend vitae convallis massa ultricies. Cras iaculis sem nec
turpis euismod interdum. Vestibulum eget ligula metus, sit amet pulvinar lorem.
\begin{figure}
\begin{center}
\includegraphics[scale=1]{my_graphic}
\caption{My graphic}
\end{center}
\end{figure}
Sed vulputate ligula non quam congue consectetur. Ut erat massa, lacinia sed
mattis vitae, pretium nec quam. Pellentesque faucibus hendrerit lacinia. Sed
in massa erat. Praesent massa mauris, dapibus at euismod at, iaculis
eleifend nulla.
However, instead of the graphic showing up between the two paragraphs when I build it, it pops up somewhere seemingly randomly nearby. Why is it not appearing between my two paragraphs like I have in my source? Urgently need help solving this, thanks.