Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
GuillaumeLaplante-Anfossi
GitHub Repository: GuillaumeLaplante-Anfossi/Poissons
Path: blob/main/paper/figures/IntPosB23.tex
1019 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
16
17
\definecolor{part1}{HTML}{\coula}
18
\definecolor{part2}{HTML}{\coulb}
19
\definecolor{part3}{HTML}{\coulc}
20
\definecolor{part4}{HTML}{\could}
21
22
\begin{document}
23
\begin{tikzpicture}
24
\node (min) at (0,0){
25
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
26
\node[draw, circle] (1p){1};
27
\node[draw, circle, right=5pt of 1p](3p){2};
28
\node[draw, circle, right=5pt of 3p](2p){3};
29
\end{tikzpicture}};
30
\node[above left=1cm of min.north] (3) {
31
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
32
\node[draw, circle] (1p){2};
33
\node[draw, circle, above=5pt of 1p](3p){3};
34
\node[draw, circle, right=5pt of 1p](2p){1};
35
\draw[very thick, blue] (1p)--(3p);
36
\end{tikzpicture}};
37
\node[above right=1cm of min.north] (4) {
38
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
39
\node[draw, circle] (1p){1};
40
\node[draw, circle, above=5pt of 1p](3p){3};
41
\node[draw, circle, right=5pt of 1p](2p){2};
42
\draw[very thick, red] (1p)--(3p);
43
\end{tikzpicture}};
44
\node[left=0.5cm of 3] (2) {
45
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
46
\node[draw, circle] (1p){1};
47
\node[draw, circle, above=5pt of 1p](3p){2};
48
\node[draw, circle, right=5pt of 1p](2p){3};
49
\draw[very thick, blue] (1p)--(3p);
50
\end{tikzpicture}};
51
\node[left=0.5cm of 2] (1) {
52
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
53
\node[draw, circle] (1p){1};
54
\node[draw, circle, above=5pt of 1p](3p){3};
55
\node[draw, circle, right=5pt of 1p](2p){2};
56
\draw[very thick, blue] (1p)--(3p);
57
\end{tikzpicture}};
58
\node[right=0.5cm of 4] (5) {
59
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
60
\node[draw, circle] (1p){1};
61
\node[draw, circle, above=5pt of 1p](3p){2};
62
\node[draw, circle, right=5pt of 1p](2p){3};
63
\draw[very thick, red] (1p)--(3p);
64
\end{tikzpicture}};
65
\node[right=0.5cm of 5] (6) {
66
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
67
\node[draw, circle] (1p){2};
68
\node[draw, circle, above=5pt of 1p](3p){3};
69
\node[draw, circle, right=5pt of 1p](2p){1};
70
\draw[very thick, red] (1p)--(3p);
71
\end{tikzpicture}};
72
\node[above=2cm of 1] (15) {
73
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
74
\node[draw, circle] (1p){1};
75
\node[draw, circle, above left=5pt of 1p.north](2p){2};
76
\node[draw, circle, above right=5pt of 1p.north](3p){3};
77
\draw[very thick, blue] (1p)--(3p);
78
\draw[very thick, red] (1p)--(2p);
79
\end{tikzpicture}};
80
\node[left=0.5cm of 15] (123) {
81
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
82
\node[draw, circle] (1p){1};
83
\node[draw, circle, above left=5pt of 1p.north](2p){2};
84
\node[draw, circle, above right=5pt of 1p.north](3p){3};
85
\draw[very thick, blue] (1p)--(3p);
86
\draw[very thick, blue] (1p)--(2p);
87
\end{tikzpicture}};
88
\node[right=0.5cm of 15] (26) {
89
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
90
\node[draw, circle] (1p){1};
91
\node[draw, circle, above=5pt of 1p.north](2p){2};
92
\node[draw, circle, above=5pt of 2p.north](3p){3};
93
\draw[very thick, red] (2p)--(3p);
94
\draw[very thick, blue] (1p)--(2p);
95
\end{tikzpicture}};
96
\node[right=0.5cm of 26] (34) {
97
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
98
\node[draw, circle] (1p){1};
99
\node[draw, circle, above=5pt of 1p.north](2p){3};
100
\node[draw, circle, above=5pt of 2p.north](3p){2};
101
\draw[very thick, blue] (2p)--(3p);
102
\draw[very thick, red] (1p)--(2p);
103
\end{tikzpicture}};
104
\node[right=0.5cm of 34] (24) {
105
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
106
\node[draw, circle] (1p){1};
107
\node[draw, circle, above left=5pt of 1p.north](2p){2};
108
\node[draw, circle, above right=5pt of 1p.north](3p){3};
109
\draw[very thick, red] (1p)--(3p);
110
\draw[very thick, blue] (1p)--(2p);
111
\end{tikzpicture}};
112
\node[right=0.5cm of 24] (35) {
113
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
114
\node[draw, circle] (1p){1};
115
\node[draw, circle, above=5pt of 1p.north](2p){2};
116
\node[draw, circle, above=5pt of 2p.north](3p){3};
117
\draw[very thick, blue] (2p)--(3p);
118
\draw[very thick, red] (1p)--(2p);
119
\end{tikzpicture}};
120
\node[right=0.5cm of 35] (16) {
121
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
122
\node[draw, circle] (1p){1};
123
\node[draw, circle, above=5pt of 1p.north](2p){3};
124
\node[draw, circle, above=5pt of 2p.north](3p){2};
125
\draw[very thick, red] (2p)--(3p);
126
\draw[very thick, blue] (1p)--(2p);
127
\end{tikzpicture}};
128
\node[right=0.5cm of 16] (456) {
129
\begin{tikzpicture}[scale=0.3, inner sep=1pt]
130
\node[draw, circle] (1p){1};
131
\node[draw, circle, above left=5pt of 1p.north](2p){2};
132
\node[draw, circle, above right=5pt of 1p.north](3p){3};
133
\draw[very thick, red] (1p)--(3p);
134
\draw[very thick, red] (1p)--(2p);
135
\end{tikzpicture}};
136
\draw (min)--(1);
137
\draw (min)--(2);
138
\draw (min)--(3);
139
\draw (min)--(4);
140
\draw (min)--(5);
141
\draw (min)--(6);
142
\draw (123.south)--(1.north);
143
\draw (123.south)--(2.north);
144
\draw (123.south)--(3.north);
145
\draw (456.south)--(4.north);
146
\draw (456.south)--(5.north);
147
\draw (456.south)--(6.north);
148
\draw (2.north)--(26.south)--(6.north);
149
\draw (2.north)--(24.south)--(4.north);
150
\draw (1.north)--(15.south)--(5.north);
151
\draw (1.north)--(16.south)--(6.north);
152
\draw (3.north)--(34.south)--(4.north);
153
\draw (3.north)--(35.south)--(5.north);
154
\end{tikzpicture}
155
156
\end{document}
157
158