Added magnifying glass
This commit is contained in:
parent
c5e555c123
commit
a3c1adf3db
@ -24,6 +24,7 @@
|
||||
%\setbeameroption{show notes on second screen=right}
|
||||
\usepgfplotslibrary{colorbrewer}
|
||||
\usetikzlibrary{external}
|
||||
\usetikzlibrary{spy}
|
||||
\tikzexternalize[prefix=build/]
|
||||
|
||||
|
||||
|
||||
@ -586,9 +586,11 @@ return $\boldsymbol{\hat{c}}$
|
||||
\end{tikzpicture}
|
||||
\end{minipage}%
|
||||
\begin{minipage}[c]{0.5\textwidth}
|
||||
\vspace*{-1cm}
|
||||
\centering
|
||||
|
||||
\begin{tikzpicture}[scale = 0.85]
|
||||
\begin{tikzpicture}[scale = 0.85, spy using outlines={circle, magnification=6,
|
||||
connect spies}]
|
||||
\begin{axis}[
|
||||
grid=both,
|
||||
xlabel={Iterations},
|
||||
@ -610,7 +612,12 @@ return $\boldsymbol{\hat{c}}$
|
||||
\addlegendentry{est}
|
||||
\addlegendentry{$\left(\nabla L \right)_1$}
|
||||
\addlegendentry{$\left(\nabla h \right)_1 $}
|
||||
|
||||
\coordinate (spypoint) at (axis cs:100,0.53);
|
||||
\coordinate (magnifyglass) at (axis cs:175,2);
|
||||
\end{axis}
|
||||
\spy [black, size=2cm] on (spypoint)
|
||||
in node[fill=white] at (magnifyglass);
|
||||
\end{tikzpicture}
|
||||
\end{minipage}%
|
||||
\begin{minipage}[c]{0.25\textwidth}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user