diff options
Diffstat (limited to 'figs/brillouin.fig/scales.tikz.tex')
-rw-r--r-- | figs/brillouin.fig/scales.tikz.tex | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/figs/brillouin.fig/scales.tikz.tex b/figs/brillouin.fig/scales.tikz.tex new file mode 100644 index 0000000..ebafd14 --- /dev/null +++ b/figs/brillouin.fig/scales.tikz.tex @@ -0,0 +1,47 @@ +\documentclass{standalone} + +\usepackage{tikz} +\usepackage{xcolor} + +\definecolor{gray0}{HTML}{EEEEEE} +\definecolor{gray1}{HTML}{CCCCCC} +\definecolor{gray2}{HTML}{AAAAAA} +\definecolor{gray3}{HTML}{888888} +\definecolor{gray4}{HTML}{666666} +\definecolor{gray5}{HTML}{444444} +\definecolor{gray6}{HTML}{222222} +\definecolor{gray7}{HTML}{000000} + +% sqrt(3) +\def\sqrtTh{1.732} +% pi +\def\pival{3.14159} + +\begin{document} +\begin{tikzpicture} + \draw(0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle; + + \fill[color=gray0](0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle; + + \fill[color=gray1](2*\pival/3, 2*\pival/3/\sqrtTh)circle(1); + \fill[color=gray1](2*\pival/3,-2*\pival/3/\sqrtTh)circle(1); + + \fill[color=gray2](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.5); + \fill[color=gray2](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.5); + + \fill[color=gray3](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.25); + \fill[color=gray3](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.25); + + \fill[color=gray4](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.125); + \fill[color=gray4](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.125); + + \fill[color=gray5](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.0626); + \fill[color=gray5](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.0625); + + \fill[color=gray6](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.03125); + \fill[color=gray6](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.03125); + + \fill[color=gray7](2*\pival/3, 2*\pival/3/\sqrtTh)circle(0.015625); + \fill[color=gray7](2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.015625); +\end{tikzpicture} +\end{document} |