Is there any way I can fit a sideways figure using the rotating package onto the same page as the title of the section?
\documentclass[a4paper,12pt]{article}
\usepackage[applemac]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{rotating}
\usepackage{tikz}
\begin{document}
\subsection{My sideways figure}
\begin{sidewaysfigure}[h!]
\centering
\begin{tikzpicture}[scale=4]
\fill[blue] (0,0) rectangle(2,1.5);
\end{tikzpicture}
\caption{Box plot of number of positions sent per iteration using this scheme}
\label{fig:awesome_image}
\end{sidewaysfigure}
\end{document}
P.S. Credit to @Jubobs for his example of how to use the rotatingpackage (how to turn latex figure by 90 degrees along with the caption?).
figureenvironment and just rotate the picture by enclosing thetikzpictureenvironment in\rotatebox{90}{...picture...}, or if you want to rotate the caption as well, using the solution here? – Thruston Nov 13 '13 at 18:17