I got the following problem: I want to have two pictures at the end of a subsection just before the next subsections starts. I tried it with:
\begin{figure}[ht]
\centering
\includegraphics[width=\linewidth]{geschw.png}
\caption{Geschwindigkeitsverläufe von Globoidkurve und Greifer bei 0,7s Wechselzeit}
\includegraphics[width=\linewidth]{beschl.png}
\caption{Beschläunigungsverläufe von Globoidkurve und Greifer bei 0,7s Wechselzeit}
\label{fig:geschw}
\end{figure}
But then the pictues are at the end of the whole text.
The first subsection ends at the end of a page so i tried to use
\begin{figure}[p]
which placed them on the next page between the end of the first and the beginning of the second subsection, but in the middle of the page with white space above and below. The next subsection then starts at the next page.
Is it somehow possible to move the pictures to the top of the page and let the next subsection start right below.

figureis a floating environment, it is supposed to appear at specific points (top, bottom or on a page of its own) and not between sections. Please see How to influence the position of float environments like figure and table in LaTeX? and How do I ensure that figures appear in the section they're associated with? which should help you. – Martin Scharrer Apr 05 '12 at 12:45