[Tex/LaTex] Show the large image in latex beamer into four parts / transitions

beamergraphics

I have a large image that I want to show in my presentation. I have four panels on the graph. What I want to do is in each slide, I want to show each panel. How do we show the certain portion of the image only at each time ?

For example I have a graph like this

enter image description here

How can I show each panel as full screen ?

Best Answer

Remarks

When including an image using \includegraphics from the garphicx package (preloaded by beamer), then you can specify the options clip and trim, where trim takes additional parameters for the borders. In conjunction with clip the trimmed borders are cut off. When omitting clip only the borders are shift (i.e. the bounding box changes).

The trim parameters are

\includegraphics[clip,trim = left bottom right top]{...}

The units are bp (big point is 1/72 inch).

Implementation

Image111.png is the file from your link, placed in the same directory.

\documentclass{beamer}
\begin{document}

\begin{frame}{Upper left}
    \centering
    \includegraphics[clip,trim=0 90 120 0]{Image111}
\end{frame}

\begin{frame}{Lower left}
    \centering
    \includegraphics[clip,trim=0 0 125 90]{Image111}
\end{frame}

\begin{frame}{Upper right}
    \centering
    \includegraphics[clip,trim=125 90 0 0]{Image111}
\end{frame}

\begin{frame}{Lower right}
    \centering
    \includegraphics[clip,trim=125 0 0 90]{Image111}
\end{frame}

\end{document}

Output (First slide)

enter image description here

Related Question