[Tex/LaTex] Graphic size in slides

beamergraphics

I'm doing a slide presentation with LaTeX, and some slides show only graphics. I created those graphics using R. But in those slides, the graphic size is too big and a part of the graphic does not appear in the slide, like it's been cropped. Is there any command in LaTeX that can make the graphic smaller in the slide?

Best Answer

The \includegraphics command from the graphicx package can take a number of optional arguments, such as scale, width, and height. You can use these to get the desired size- a MWE follows

\documentclass{beamer}

\usepackage{graphicx}

\begin{document}    
\begin{frame}
 %\includegraphics[scale=0.5]{mypicture}
 \includegraphics[width=2cm]{mypicture}
\end{frame}
\end{document}
Related Question