I want to make figures bigger in subfigures, but scale does not work when I use width.
Code
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\begin{document}
\begin{frame}[allowframebreaks]
% http://tex.stackexchange.com/a/37597/13173
% http://tex.stackexchange.com/a/164778/13173
\begin{figure}
\centering
\begin{subfigure}{.5\textwidth}
\includegraphics[page=1,width=.4\textwidth]{Rplots_male.pdf}
\caption{Cor males.}
\end{subfigure}
\begin{subfigure}{0.5\textwidth}
\includegraphics[page=2,width=0.4\textwidth]{Rplots_male.pdf}
\caption{Cor new ECG males.}
\end{subfigure}
\end{figure}
\end{frame}
\end{document}
Output
Unsuccessful attempt to control the size of the figure
\includegraphics[page=1,width=.4\textwidth,scale=1.2]{Rplots_male.pdf}
OS: Debian 8.5
TeXLive: 2016


