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}
Best Answer
You can save the figure + caption in a box and then rotate the box, or use the
sidewaysfigure
environment from therotating
package. It puts the figure on its own page. For a small figure you can use the\rotcaption
command to rotate the caption.Taken from --https://tex.stackexchange.com/a/46337/197451