sidewaysfigure and landscape

Don't use sidewaysfigure within landscape - it will turn your figure twice. A regular figure should suffice:

\documentclass{article}
\usepackage{pdflscape}

\begin{document}

\begin{landscape}
 \begin{figure}
  \centering
  \includegraphics{image}
  \caption{caption}
  \label{fig:label}
 \end{figure}
\end{landscape}

\end{document}

Although this question was seemingly answered (by @Bettina) over a year ago, I think that the complexity of the question and answer is misleading. There are two potential problems in the proposed solution:

  1. If the landscape page is placed amongst other floats, it doesn't behave nicely
  2. If the landscape page has other headers/footers, it doesn't behave nicely

I will link some helpful threads:

  • Wrapping text around landscape environments
  • A follow-up post
  • How to clear the header/footers of landscape pages
  • How to deal with other floats around

I think the following example illustrates how to put everything together. It works for my purposes, and the other floats around the document seem to flow properly. Now it uses the flafter package which forces floats to appear after their declaration in the text.

\documentclass{article}

\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{flafter}
\usepackage{fancyhdr}
\fancypagestyle{lscape}{% 
\fancyhf{} % clear all header and footer fields 
\fancyfoot[LE]{}
\fancyfoot[LO] {}
\renewcommand{\headrulewidth}{0pt} 
\renewcommand{\footrulewidth}{0pt}}

\begin{document}

\afterpage{
\clearpage% To flush out all floats, might not be what you want
\begin{landscape}
\thispagestyle{lscape}
\pagestyle{lscape}
\begin{figure}
\includegraphics{myfigure.pdf}
\caption{Test}
\end{figure}
\end{landscape}
}

\end{document}