# Figure centered (horizontally and vertically) + subsection on same page

I want to center my figure (horizontally and vertically). I have a subesction that I want to keep on the same page (at the top), but it is "pushed" on the next page. I am using the following code:

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage{cleveref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{pdflscape}
\usepackage[margin=2.5cm]{geometry}
\usepackage{booktabs,caption,fixltx2e}
\usepackage[flushleft]{threeparttable}
\usepackage[capposition=top]{floatrow}
\usepackage{float}
\usepackage{rotating}
\usepackage{bm}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{subfig}
\newcommand\inclfig[1]{% \includegraphics[width=120mm]{#1}}


and in the document:

\subsection{Subsection 1}

\begin{figure}[p]
\centering
\includegraphics{Pictures/picture1.png}
\caption{Caption 1}
\floatfoot{Own illustration}
\label{fig:Label 1}
\end{figure}


• [p] means put it on a page with just floats. Sounds like you want [htp] to allow h so it comes under the heading – David Carlisle Mar 27 '15 at 21:45