The following code rotates the figure as I want to, so now my Y axis is parallel to the shorter edge of my A4 sheet. However, my caption is still parallel to the shorter edge of my sheet.
How can I make the caption follow the figure and be parallel to the large edge of my sheet?
\begin{figure}[p]
\centering
\includegraphics[width=1.3\textwidth, angle =90 ]{Graphs/1.png}
\caption{Box plot of number of positions sent per iteration using this scheme}
\label{fig:awesome_image}
\end{figure}
sidewaysfigure