I am usually not a fan of animations in scientific presentations, but here I am asking how to implement one.
I have two plots, with the second one (figure B below) being a close-up version of the first one (figure A below). I implemented this using the columns environment and onslide numbers:
\documentclass{beamer}
\usetheme{boxes}
\usepackage[export]{adjustbox}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,positioning}
\usetikzlibrary{decorations.pathreplacing,angles,quotes,decorations.pathmorphing}
\begin{document}
\begin{frame}{Hello}
\framesubtitle{I like trains}
\begin{columns}
\column{0.5\linewidth}
\centering
\begin{tikzpicture}
\onslide<1->{
\draw[<->] (-0.8,0) -- (0.8,0);
}
\end{tikzpicture}
\column{0.5\linewidth}
\includegraphics<1>[width=\textwidth]{example-image-a}
\includegraphics<2>[width=\textwidth]{example-image-b}
\end{columns}
\end{frame}
\end{document}
Now when I go through the presentation this is really confusing, since we see figure A and then directly the super close-up version figure B without knowing which part of A it shows. Ideally I would like to have a simple "zooming effect". I thought the easiest option would be to insert a number of intermediate overlays betwee figure A and B, and then let them transition into each other with a certain pause time. However I don't know how to implement this without having to click through all of them. Any help on this or alternative implementations would be much appreciated.

\usetikzlibrary{spy})? – Jan 08 '18 at 23:32