I have figure that made of two subfigures, the problem is the figure is larger than my page I want to scale the whole figure to fit into my page (with caption and everything how can I do it)
\begin{figure}[tbh]
\centering
\begin{subfigure}[b]{1\columnwidth}
\centering
\includegraphics[width=1\columnwidth]{figs/fpr-selected-crop}
\caption{$fpr$ diagram}
\label{fig:fpr}
\vspace{0.7cm}
\end{subfigure}
\begin{subfigure}[b]{1\columnwidth}
\centering
\includegraphics[width=1\columnwidth]{figs/tpr-selected-crop}
\caption{$tpr$ diagram}
\label{fig:tpr}
\end{subfigure}
\caption{XXXXXXXXXXXX}
\label{fig:fpr-tpr}
\end{figure}
Best Answer
You can use
adjustbox
:Adjust
scale
value as you wish.