Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
GuillaumeLaplante-Anfossi
GitHub Repository: GuillaumeLaplante-Anfossi/Poissons
Path: blob/main/paper/figures/CoverRelRFFig.tex
1017 views
1
%author : berenice delcroix-oger
2
3
\documentclass[border=2pt]{standalone}
4
\usepackage{tikz}
5
\usetikzlibrary{positioning, fit, shapes, arrows, calc}
6
7
\pgfdeclarelayer{bg} % declare background layer
8
\pgfsetlayers{bg,main} % set the order of the layers (main is the standard layer)
9
10
\newcommand{\coula}{0785F2}
11
\newcommand{\coulb}{F29F05}
12
\newcommand{\coulc}{F21313}
13
\newcommand{\could}{E6F21F}
14
15
\definecolor{bleu}{HTML}{0000FF}
16
\definecolor{vert}{HTML}{39B44B}
17
\definecolor{rouge}{HTML}{FF0000}
18
19
20
\definecolor{part1}{HTML}{\coula}
21
\definecolor{part2}{HTML}{\coulb}
22
\definecolor{part3}{HTML}{\coulc}
23
\definecolor{part4}{HTML}{\could}
24
25
\begin{document}
26
\begin{tikzpicture}
27
\node(1) {$F=$\begin{tikzpicture}[grow=up, inner sep=1pt, outer sep=0pt, level distance=1cm, sibling distance=15pt, baseline=1.4cm]
28
\node[draw, circle] {$1$}
29
child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$5$}
30
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$3$}}
31
child{node[circle, fill=red, fill opacity=0.4, text opacity=1, anchor=center] {$4$}}
32
};
33
\end{tikzpicture}
34
\begin{tikzpicture}[grow=up, inner sep=1pt, level distance=1cm, sibling distance=15pt, outer sep=0pt, baseline=1.4cm]
35
\node[draw, circle] {$2$}
36
child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$6$}
37
child{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$7$}
38
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$8$}}}
39
}
40
child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$9$}}
41
;
42
\end{tikzpicture}
43
};
44
\node[right=1cm of 1](2) {
45
\begin{tikzpicture}[grow=up, inner sep=1pt, outer sep=0pt, level distance=1cm, sibling distance=15pt, baseline=.9cm]
46
\node[draw, circle] {$1$}
47
child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$5$}
48
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$3$}}
49
child{node[circle, fill=red, fill opacity=0.4, text opacity=1, anchor=center] {$4$}}
50
};
51
\end{tikzpicture}
52
\begin{tikzpicture}[grow=up, inner sep=1pt, level distance=1cm, sibling distance=15pt, outer sep=0pt, baseline=.9cm]
53
\node[circle, fill=bleu, fill opacity=0.4, text opacity=1] {$2$}
54
child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$6$}
55
child{node[thin, draw, circle, text opacity=1, anchor=center] {$7$}
56
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$8$}}}
57
}
58
child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$9$}}
59
;
60
\end{tikzpicture}
61
};
62
\draw[->] (1) edge[->] node[above] {(2)} (2);
63
\node[right=1cm of 2](3) {
64
\begin{tikzpicture}[grow=up, inner sep=1pt, outer sep=0pt, level distance=1cm, sibling distance=15pt, baseline=.9cm]
65
\node[draw, circle] {$1$}
66
child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$5$}
67
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$3$}}
68
child{node[circle, fill=red, fill opacity=0.4, text opacity=1, anchor=center] {$4$}}
69
};
70
\end{tikzpicture}
71
\begin{tikzpicture}[grow=up, inner sep=1pt, level distance=1cm, sibling distance=15pt, outer sep=0pt, baseline=.9cm]
72
\node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$7$}
73
child[thick]{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$8$}}
74
child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$6$}
75
child{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$2$}
76
child{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$9$}}
77
}}
78
;
79
\end{tikzpicture}
80
};
81
\draw[->] (2) edge[->] node[above] {(3)} (3);
82
\node[right=1cm of 3](4) {
83
\begin{tikzpicture}[grow=up, inner sep=1pt, outer sep=0pt, level distance=1cm, sibling distance=15pt, baseline=2.4cm]
84
\node[draw, circle] {$1$}
85
child[thick]{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$5$}
86
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$8$}}
87
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$7$}
88
child[thick]{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$6$}
89
child{node[circle, fill=bleu, fill opacity=0.4, text opacity=1, anchor=center] {$2$}
90
child{node[circle, fill=rouge, fill opacity=0.4, text opacity=1, anchor=center] {$9$}}
91
}}}
92
child{node[circle, fill=vert, fill opacity=0.4, text opacity=1, anchor=center] {$3$}}
93
child{node[circle, fill=red, fill opacity=0.4, text opacity=1, anchor=center] {$4$}}
94
};
95
\end{tikzpicture} $=G$
96
};
97
\draw[->] (3) edge[->] node[above] {(4)} (4);
98
\end{tikzpicture}
99
\end{document}
100
101