2 \usepackage{gnuplot-lua-tikz
}
4 \usetikzlibrary{shapes,arrows,decorations
}
5 \usetikzlibrary{decorations.text,decorations.pathreplacing
}
8 \tikzstyle{board
} =
[rectangle, draw, rounded corners,
9 font=
\footnotesize, fill=gray!
20,
10 very thick, draw=gray,
11 minimum height=
3em, minimum width=
3em,
13 \tikzstyle{cord
} =
[-hooks reversed, very thick, draw=black
]
14 \tikzstyle{sboard
} =
[board, yslant=
0.5, xslant=-
1,
]
15 \tikzstyle{fboard
} =
[yslant=
0.5, xslant=-
1,
16 minimum height=
2.8em, minimum width=
2.8em,
]
17 \tikzstyle{mut-op
} =
[->, black, thick, bend right=
90, distance=
0.75em
]
18 \tikzstyle{sub-pop
} =
[font=
\footnotesize]
22 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
23 scale=
0.75, yslant=
0.5, xslant=-
1]
24 at (
#1+
0.125,
#2+
0.0675)
{};
26 \node [rectangle, draw, fill=white!
80,
27 scale=
0.25, yslant=
0.5, xslant=-
1]
30 \node [rectangle, draw, fill=black!
80, draw=black!
80,
31 scale=
0.16, yslant=
0.5, xslant=-
1,
32 minimum width=
3em, minimum height=
1em
]
35 \foreach \xb in
{0.425,-
0.425} {
36 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
37 minimum width=
1em, minimum height=
6em,scale=
0.125,
38 yslant=
0.5, xslant=-
1]
40 \foreach \t in
{-
0.15,-
0.1,...,
0.15}{
41 \draw [color=orange
] (
#1+
\xb,
#2+
\t) to (
#1+
\xb*
0.85,
#2+
\t);
}
43 \foreach \yb in
{0.425,-
0.425} {
44 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
45 minimum height=
1em, minimum width=
6em,scale=
0.125,
46 yslant=
0.5, xslant=-
1]
48 \foreach \t in
{-
0.15,-
0.1,...,
0.15}{
49 \draw [color=orange
] (
#1+
\t,
#2+
\yb) to (
#1+
\t,
#2+
\yb*
0.85);
}
52 \def\flatboard(
#1,
#2)
{
54 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80, scale=
0.75]
55 at (
#1+
0.125,
#2+
0.0675)
{};
57 \node [rectangle, draw, fill=white!
80, scale=
0.25]
60 \node [rectangle, draw, fill=black!
80, draw=black!
80,
62 minimum width=
3em, minimum height=
1em
]
65 \foreach \xb in
{0.425,-
0.425} {
66 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
67 minimum width=
1em, minimum height=
6em,scale=
0.125]
69 \foreach \t in
{-
0.15,-
0.1,...,
0.15}{
70 \draw [color=orange
] (
#1+
\xb,
#2+
\t) to (
#1+
\xb*
0.85,
#2+
\t);
}
72 \foreach \yb in
{0.425,-
0.425} {
73 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
74 minimum height=
1em, minimum width=
6em,scale=
0.125]
76 \foreach \t in
{-
0.15,-
0.1,...,
0.15}{
77 \draw [color=orange
] (
#1+
\t,
#2+
\yb) to (
#1+
\t,
#2+
\yb*
0.85);
}
80 \def\bflatboard(
#1,
#2)
{
82 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80, scale=
3]
83 at (
#1+
0.125,
#2+
0.0675)
{};
85 \node [rectangle, draw, fill=white!
80, scale=
0.75]
88 \node [rectangle, draw, fill=black!
80, draw=black!
80,
90 minimum width=
3em, minimum height=
1em
]
93 \foreach \xb in
{0.425,-
0.425} {
94 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
95 minimum width=
1em, minimum height=
6em,scale=
0.8]
97 \foreach \t in
{-
0.075,-
0.05,...,
0.075}{
98 \draw [very thick,
color=orange
] (
#1+
\xb,
#2+
\t) to (
#1+
\xb*
0.9,
#2+
\t);
}
100 \foreach \yb in
{0.425,-
0.425} {
101 \node [rectangle, draw, very thick, fill=black!
80, draw=black!
80,
102 minimum height=
1em, minimum width=
6em,scale=
0.8]
104 \foreach \t in
{-
0.075,-
0.05,...,
0.075}{
105 \draw [very thick,
color=orange
] (
#1+
\t,
#2+
\yb) to (
#1+
\t,
#2+
\yb*
0.9);
}
108 \def\individual(
#1,
#2,
#3)
{
110 \path [decorate, decoration=
{text along path,text=
{#3}}]
111 (
#1-
0.75,
#2) to (
#1+
0.75,
#2);