My picture and my section won't be on the same page. I have tried the float package with [H] and [!] and so on but it won't work
\documentclass[a4paper]{report}
\usepackage{float}
\usepackage{geometry}
\usepackage{rotating}
\usepackage{pdflscape}
\usepackage{mwe}
\begin{document}
\newpage
\appendix
\section{LabVIEW-kod}
\begin{sidewaysfigure}[h]
\includegraphics[height=0.3\textheight]{lab_12.png}
\caption{}
\label{fig:big_uppgift}
\end{sidewaysfigure}
\end{document}
Note from editor
Added packages rotating and pdflscape as I found here to recover from environment sidewaysfigure undefined, and of course I have gotten a file not found error, so I looked for how to use example images, and I found this, and therefore added mwe and used the examples. Here is the resulting output:
(p. 1)
(p. 2)


