Skip to content
Snippets Groups Projects
Commit 2fcc766a authored by Hautz, Jessica's avatar Hautz, Jessica
Browse files

Add overlay specifications in the tikzpicture.

parent 5977f621
No related branches found
Tags Beamer_file_ready
No related merge requests found
......@@ -38,14 +38,6 @@
\end{textblock*}
}
\tikzset{
invisible/.style={opacity=0,text opacity=0},
visible on/.style={alt={#1{}{invisible}}},
alt/.code args={<#1>#2#3}{%
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}
},
}
\begin{document}
\begin{frame}[plain]
......@@ -78,16 +70,16 @@
\begin{figure}
\centering
\begin{tikzpicture}[visible on=<2->]
\begin{tikzpicture}
\draw[very thin,color=gray] (0.0,0.0) grid (0,0);
\draw[->] (-0.5,0) -- (7.0,0) node[right] {$t$};
\draw[->] (0,-2.0) -- (0,3.0) node[above] {$x$};
\draw[green,domain=0.01:4] plot (\x,{\x*ln(\x)-\x-1});
\draw (5.83,1) node[green,left] {$\alpha = -1$};
\draw[blue,domain=0.01:4] plot (\x,{\x*ln(\x)-\x});
\draw (5.5,2) node[blue,left] {$\alpha = 0$};
\draw[red,domain=0.01:4] plot (\x,{\x*ln(\x)-\x + 1});
\draw (5.5,3) node[red,left] {$\alpha = 1$};
\onslide<4->{\draw[green,domain=0.01:4] plot (\x,{\x*ln(\x)-\x-1});
\draw (5.83,1) node[green,left] {$\alpha = -1$};}
\onslide<2->{\draw[blue,domain=0.01:4] plot (\x,{\x*ln(\x)-\x});
\draw (5.5,2) node[blue,left] {$\alpha = 0$};}
\onslide<3->{\draw[red,domain=0.01:4] plot (\x,{\x*ln(\x)-\x + 1});
\draw (5.5,3) node[red,left] {$\alpha = 1$};}
\end{tikzpicture}
\end{figure}
\end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment