Lattice figure
This commit is contained in:
parent
cd8ca0cc84
commit
59c892e6d2
23
fig-lattice-base.tex
Normal file
23
fig-lattice-base.tex
Normal file
@ -0,0 +1,23 @@
|
||||
\begin{tikzpicture}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Comment or uncomment crop %
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\clip[use as bounding box]
|
||||
%\draw[thick, black]
|
||||
(2,3) rectangle (10,8);
|
||||
\foreach \i in {0,1,...,20} {
|
||||
\foreach \j in {0,1,..., 10} {
|
||||
\draw[fill=black] (.2*\j + .5*\i, \j + .1*\i) circle (1pt) coordinate (v-\i-\j);
|
||||
}
|
||||
}
|
||||
\draw[very thick, green!80!black, ->] (v-9-4) -- (v-8-4);
|
||||
\draw[very thick, green!80!black, ->] (v-9-4) -- (v-9-5);
|
||||
\draw[very thick, red!80!black, ->] (v-9-4) -- (v-19-2);
|
||||
\draw[very thick, red!80!black, ->] (v-9-4) -- (v-18-2);
|
||||
\foreach \i in {0,1,...,10} {
|
||||
\draw[dotted, color=black!70] (v-0-\i) -- (v-20-\i);
|
||||
}
|
||||
\foreach \i in {0,1,...,20} {
|
||||
\draw[dotted, color=black!70] (v-\i-0) -- (v-\i-10);
|
||||
}
|
||||
\end{tikzpicture}
|
@ -13,29 +13,7 @@ Worst-case lattice problems have been extensively studied in the last past years
|
||||
|
||||
\begin{figure}
|
||||
\centering
|
||||
\begin{tikzpicture}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Comment or uncomment crop %
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\clip[use as bounding box]
|
||||
%\draw[thick, black]
|
||||
(2,3) rectangle (10,8);
|
||||
\foreach \i in {0,1,...,20} {
|
||||
\foreach \j in {0,1,..., 10} {
|
||||
\draw[fill=black] (.2*\j + .5*\i, \j + .1*\i) circle (1pt) coordinate (v-\i-\j);
|
||||
}
|
||||
}
|
||||
\draw[very thick, green!80!black, ->] (v-9-4) -- (v-8-4);
|
||||
\draw[very thick, green!80!black, ->] (v-9-4) -- (v-9-5);
|
||||
\draw[very thick, red!80!black, ->] (v-9-4) -- (v-19-2);
|
||||
\draw[very thick, red!80!black, ->] (v-9-4) -- (v-18-2);
|
||||
\foreach \i in {0,1,...,10} {
|
||||
\draw[dotted, color=black!70] (v-0-\i) -- (v-20-\i);
|
||||
}
|
||||
\foreach \i in {0,1,...,20} {
|
||||
\draw[dotted, color=black!70] (v-\i-0) -- (v-\i-10);
|
||||
}
|
||||
\end{tikzpicture}
|
||||
\input fig-lattice-base
|
||||
\caption{A lattice $\Lambda$ with two different basis.}
|
||||
\label{fig:lattice-basis}
|
||||
\end{figure}
|
||||
|
Loading…
Reference in New Issue
Block a user