I would like to rotate an image (in LATEX) keeping it at the same location (I just want to rotate it) In order to do that I used \begin{sidewaysfigure}[H] but is not working.
The current output: The image appears on the last sheets
what's going on? any idea? I also changed the height/widht but it doesn't work either:
\begin{sidewaysfigure}[H]
\includegraphics{image}
\caption{Swimlane Diagram.}
%\label{swim}
\end{sidewaysfigure}


rotating: "two new environments,sidewaystableandsidewaysfigure, each of which produces a single page-size float with contents rotated ±90 degrees" Please clarify: Do you want to keep the rotated image on the same page as other unrotated content or do you want the image to be on a single page, but stay where it was used in the code? – leandriis Nov 13 '19 at 16:22\begin{figure}[H] ... \includegraphics[angle=90]{whatever} ...would achieve the result you need. – Ian Thompson Nov 13 '19 at 16:31