phd-thesis-en/figures/gbf.tikz

36 lines
1.0 KiB
Plaintext

\documentclass{standalone}
\input{common-headers}
\input{sigles}
\begin{document}
\begin{tikzpicture}
\clip(-2,-2) rectangle (2,2);
\begin{scope}[shift={(.5,.5)}]
\draw[densely dotted] (-3,-3) grid (3,3);
\end{scope}
\draw[fill] (1,0) circle (1.5pt) node[right]
{\GBF{e}};
\draw[fill] (0,1) circle (1.5pt) node[above]
{\GBF{n}};
\draw[fill] (1,1) circle (1.5pt) node[above right]
{\GBF{ne}};
\draw[fill] (1,-1) circle (1.5pt) node[below right]
{\GBF{se}};
\draw[thick,->] (0,0) -- (1,0);
\draw[thick,->] (0,0) -- (0,1);
\draw[thick,->] (0,0) -- (1,1);
\draw[thick,->] (0,0) -- (1,-1);
\draw[fill] (-1,0) circle (1.5pt) node[left]
{\GBF{w}};
\draw[fill] (0,-1) circle (1.5pt) node[below]
{\GBF{s}};
\draw[fill] (-1,-1) circle (1.5pt) node[below left]
{\GBF{sw}};
\draw[fill] (-1,1) circle (1.5pt) node[above left]
{\GBF{nw}};
\draw[dashed,->] (0,0) -- (-1,-0);
\draw[dashed,->] (0,0) -- (-0,-1);
\draw[dashed,->] (0,0) -- (-1,-1);
\draw[dashed,->] (0,0) -- (-1, 1);
\end{tikzpicture}
\end{document}