Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I googled for hours and tried all examples I found (rotatebox, subfigures, minipages), but nothing provided the output I am looking for.

Is it really that difficult to place 3 figures rotated so they are in landscape mode side-by-side? It took me like 30 seconds in Word (see link to screenshot for better understanding below). It would be the non-plus-ultra if each figure would have a rotated caption as well... Does somebody know how to achieve this?

screenshot

share|improve this question
    
Welcome to TeX.SE! –  cmhughes Dec 30 '12 at 16:53
add comment

2 Answers

up vote 7 down vote accepted

Here's an option using the rotating package; note that I have loaded the mwe just for demonstration

screenshot

\documentclass{article}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{mwe}

\begin{document}

\begin{sidewaysfigure}
  \centering
    \includegraphics[width=\textheight,height=3cm]{example-image-a}
    \caption{First caption}
  \label{fig:first}
    \includegraphics[width=\textheight,height=3cm]{example-image-b}
    \caption{Second caption}
  \label{fig:second}
    \includegraphics[width=\textheight,height=3cm]{example-image-c}
    \caption{Third caption}
  \label{fig:third}
\end{sidewaysfigure}
\end{document}

If you'd prefer subfigures with (a), (b), (c), then you can use the subcaption package as follows (for example)

screenshot

\documentclass{article}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{mwe}
\usepackage{subcaption}

\begin{document}

\begin{sidewaysfigure}
  \centering
  \begin{subfigure}{\textheight}
    \includegraphics[width=\textheight,height=3cm]{example-image-a}
    \caption{First caption}
  \label{fig:first}
  \end{subfigure}
  \begin{subfigure}{\textheight}
    \includegraphics[width=\textheight,height=3cm]{example-image-b}
    \caption{Second caption}
  \label{fig:second}
  \end{subfigure}
  \begin{subfigure}{\textheight}
    \includegraphics[width=\textheight,height=3cm]{example-image-c}
    \caption{Third caption}
  \label{fig:third}
  \end{subfigure}
  \caption{Global caption}
\end{sidewaysfigure}
\end{document}

In both cases, you can apply some manual spacing if you wish using \vspace.

share|improve this answer
    
I'm too slow, was just about to post this. Perhaps some \vspace between the captions and the next image? Edit: By the way, I don't think you have to load mwe explicitly to use its images. –  Torbjørn T. Dec 30 '12 at 16:52
    
@TorbjørnT. thanks, have added –  cmhughes Dec 30 '12 at 16:56
    
@TorbjørnT. thanks, that's good to know :) –  cmhughes Dec 30 '12 at 17:15
    
thank you! I managed it finally and used the same approach as you demonstrated with sidewaysfigure. –  Airlike Dec 30 '12 at 18:20
    
@Airlike you're very welcome :) –  cmhughes Dec 30 '12 at 21:21
add comment

Without captions it is trvial just graphicx package and then

\noindent
\rotatebox{90}{\includegraphics{fig1}}\hfill
\rotatebox{90}{\includegraphics{fig2}}\hfill
\rotatebox{90}{\includegraphics{fig3}}

will put the three figures side by side.

With captions probably the easiest way is lscape (or pdflscape) package then

\begin{landscape}
\begin{figure}[!t]
\includegraphics{fig1}
\caption{cap 1}
\end{figure}
\begin{figure}[!t]
\includegraphics{fig2}
\caption{cap 2}
\end{figure}
\begin{figure}[!t]
\includegraphics{fig3}
\caption{cap 13}
\end{figure}
\end{landscape}
share|improve this answer
    
I managed it also finally.. but the comment function here does not allow to post my code... I used "sidewaysfigure". –  Airlike Dec 30 '12 at 16:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.