I want to have a large figure to plot vertically in one full page in latex, but the caption is not shown vertically, but rather horizontally.
My MWE:
\documentclass{book}
\usepackage[most]{tcolorbox}
% \usepackage[demo]{graphicx}
\usepackage{caption}
\usepackage[list=true]{subcaption}
\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\Huge \bfseries \sffamily}
\setcounter{lofdepth}{2}
\begin{document}
\listoffigures
\chapter{One}
\section{One}
tesing testing tesing testing tesing testing
tesing testing
tesing testing
tesing testing
tesing testing
tesing testing
\begin{figure}[!b]
\centering
% \includegraphics[width=\textwidth]
\includegraphics[scale=1.6, angle=90]{example-image}
\subcaption{$Q^{*}$ values for arm 1}
\label{fig:arm1}
\end{figure}
%
\clearpage
\section{two}
testing
\end{document}
My plot outcome is:



lscapepackage. If you want your image to keep floating, go for thesidewaysfigureenvironment from therotatingpackage instead. – leandriis Jan 04 '20 at 11:15[h!]for the figure positioning? It seemed like have a large space before the image. I understand that the image in a new page. Do you suggest usingsidewaysfigure? – aan Jan 04 '20 at 11:25sidwwaysfigure. If you don't want it to float, uselandscape. – leandriis Jan 04 '20 at 11:32\usepackage{fancyhdr}for page number. – aan Jan 04 '20 at 11:42