La figura lateral no funciona

La figura lateral no funciona

Tengo problemas con la "figura lateral". Simplemente no se reconoce y dice "Número faltante, tratado como cero".

mi código es

\begin{sidewaysfigure}[hbtp]
\setlength{\abovecaptionskip}{0.01pt} % Chosen fairly arbitrarily
\centering 
\includegraphics[width=\paperwidth-3cm,height=\paperheight-3cm]{cd4neutral.eps}
\caption{Variables in \textbf{CD4}-dataset}
\label{cd4neutral}
\end{sidewaysfigure}

y mi preámbulo

\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{fancyhdr}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage[version=3]{mhchem}
%   \usepackage{chemarrow}
%   \usepackage{array}
\usepackage{float}
\usepackage{subfigure}
\usepackage{subfloat}
\usepackage{listings}
\usepackage{dsfont}
% indexing
\usepackage{makeidx}
\usepackage{nomencl}
\usepackage{float} % needs to be "fixed" by hyperref
\usepackage{placeins} % float placement, defines \FloatBarrier
\usepackage{setspace}
\usepackage{txfonts}  
\usepackage{booktabs}
\usepackage[toc,page]{appendix}
\usepackage[T1]{fontenc}
\usepackage{titlesec, blindtext, color}
\usepackage{pdflscape}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{epsfig} 
\definecolor{gray75}{gray}{0.75}

¿Alguien ve por qué esto no funciona para mí?

información relacionada