Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
GuillaumeLaplante-Anfossi
GitHub Repository: GuillaumeLaplante-Anfossi/Poissons
Path: blob/main/Talk GDRIM/Permutoèdre.tex
1016 views
1
\documentclass{standalone}
2
\usepackage{tikz, pifont}
3
\usetikzlibrary{trees, shapes, patterns}
4
5
\newcommand{\coula}{0785F2}
6
\newcommand{\coulb}{F29F05}
7
\newcommand{\coulc}{F21313}
8
\newcommand{\could}{6698FF}
9
10
11
12
\definecolor{part1}{HTML}{\coula}
13
\definecolor{part2}{HTML}{\coulb}
14
\definecolor{part3}{HTML}{\coulc}
15
\definecolor{part4}{HTML}{\could}
16
\begin{document}
17
18
% permuto�dre
19
\begin{tikzpicture}[thick]
20
\coordinate (A1) at (2.63,0.27);
21
\coordinate (A2) at (3.75,0.45);
22
\coordinate (A3) at (4.58,1.22);
23
\coordinate (A4) at (4.84,2.33);
24
\coordinate (A5) at (4.58,2.91);
25
\coordinate (A6) at (3.74,3.83);
26
\coordinate (A7) at (3.14,4.18);
27
\coordinate (A8) at (2.04,4.00);
28
\coordinate (A9) at (1.19,3.22);
29
\coordinate (A10) at (0.93,2.13);
30
\coordinate (A11) at (1.19,1.54);
31
\coordinate (A12) at (2.04,0.62);
32
\coordinate (B1) at (2.37,0.86);
33
\coordinate (B2) at (3.23,1.62);
34
\coordinate (B3) at (2.37,2.54);
35
\coordinate (B4) at (1.52,1.78);
36
\coordinate (C1) at (3.41,1.91);
37
\coordinate (C2) at (4.26,2.67);
38
\coordinate (C3) at (3.41,3.60);
39
\coordinate (C4) at (2.56,2.83);
40
\coordinate (D1) at (1.45,2.65);
41
\coordinate (D2) at (3.15,0.80);
42
\coordinate (O1) at (4.32,1.81);
43
\coordinate (O2) at (2.62,3.67);
44
\begin{scope}[thick,dashed,,opacity=0.6]
45
\draw (A12) -- (D2)--(A2);
46
\draw (C1)--(C2)--(C3)--(C4)--(C1);
47
\draw (A11) -- (D1)--(A9);
48
\draw (D1)--(C4);
49
\draw (D2)--(C1);
50
\draw (C2)--(A4);
51
\draw (A7)--(C3);
52
\end{scope}
53
\draw[fill=part1,fill opacity=0.4] (A1) -- (A12) -- (A11)--(A10)--(B4)--(B1)--(A1);
54
\draw[fill=part2,fill opacity=0.6] (A1) -- (A2) -- (A3)--(O1)--(B2)--(B1)--(A1);
55
\draw[fill=part2,fill opacity=0.6] (A10) -- (B4) -- (B3)--(O2)--(A8)--(A9)--(A10);
56
\draw[fill=part1,fill opacity=0.8] (B3) -- (B2) -- (O1)--(A5)--(A6)--(O2)--(B3);
57
\draw[fill=part3,fill opacity=0.5] (B1) -- (B2) -- (B3)--(B4)--(B1);
58
\draw[fill=part3,fill opacity=0.7] (O2) -- (A6) -- (A7)--(A8)--(O2);
59
\draw[fill=part3,fill opacity=0.7] (O1) -- (A3) -- (A4)--(A5)--(O1);
60
\end{tikzpicture}
61
\end{document}
62
63