Hi Tex StackExchange forum users, I want to show the evolution of map over time in Beamer. (The map pics are of the same size.) I also want to insert a timeline at the bottom of the slide to indicate the year. I've attached pictures to show what I want to accomplish. Can anybody help? Thanks!
I refer to this thread and modify the code a little bit, but somehow still can't produce what I want because it shows the same figure. Evolution bar with dates in a Beamer presentation
\documentclass{beamer}
\setbeamercovered{transparent}
\usepackage{tikz}
\usetikzlibrary{overlay-beamer-styles}
\tikzset{
highlight on/.style={alt={#1{fill=red!80!black,color=red!80!black}{fill=gray!30!white,color=gray!30!white}}},
}
\begin{document}
\begin{frame}[t]
\frametitle{Timeline}
\begin{tikzpicture}[xscale=0.5]%[scale=0.9, every node/.style={scale=0.6}]
% \draw[line width=2mm,-latex,red!20] (-0.2,0) -- (9,0);
\draw[line width=1mm,-latex,red!20] (-0.2,0) -- (20+0.2,0);
\foreach \X [evaluate=\X as \Y using int(\X-2000),count=\Z] in {2000,2010,2019}
{
\draw[highlight on=<\Z>] ({\Y-0.2},-0.5) -- ({\Y+0.2},-0.5) -- (\Y,-0.1) -- cycle;
\node[anchor=south,highlight on=<\Z>,fill=white,rotate=45,anchor=south
west,inner sep=0pt] at (\Y,0.2) {\X};
}
\end{tikzpicture}
\begin{figure}
\only<1>{\includegraphics[scale = 0.4]{Figure1.png}}
\only<2>{\includegraphics[scale = 0.4]{Figure2.png}}
\only<3>{\includegraphics[scale = 0.4]{Figure3.png}}
\end{figure}
\end{frame}
\end{document}


