[Tex/LaTex] get the image full screen and landscape

graphics

I have generated a picture of chromosomes that I wish to make landscape:

enter image description here

\documentclass[12, twoside]{report}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{pdflscape}
\begin{document}
\begin{figure}[htbp]
\begin{landscape}
\includegraphics[width=\textwidth,angle=90]{results.png}
\caption[short]{\textbf{Regions}}
\end{landscape}
\end{figure}
\end{document}

If you compile the code, it works but not fully. I was wondering if there is a simple modification. Thank you!

Best Answer

Do you want something like this?

enter image description here

\documentclass[12, twoside]{report}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{pdflscape}
\begin{document}

\begin{landscape}
\begin{figure}[htbp]
\centering
\fbox{\includegraphics[width=\linewidth, height=\textheight,keepaspectratio]{results.png}}
\caption[short]{\textbf{Regions}}
\end{figure}
\end{landscape}
\end{document}

Another solution could be sidewaysfigure from rotating package:

\documentclass[12, twoside]{report}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{rotating}
\begin{document}

\begin{sidewaysfigure}[htbp]
\centering
\includegraphics[width=\linewidth, height=\textheight,keepaspectratio]{results.png}
\caption[short]{\textbf{Regions}}
\end{sidewaysfigure}
\end{document}
Related Question