summaryrefslogtreecommitdiff
path: root/images/bothsemimulti.svg
blob: b03b092ff389cc89f930653c43b98145a15721d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    version="1.1"
    viewBox="-10 -10 220 220"
    height="120mm"
    width="120mm">
  <defs>
    <linearGradient id="modele-1" x1="0" x2="0" y1="0" y2="1">
      <stop offset="0%" stop-color="blue" />
      <stop offset="33%" stop-color="blue" />
      <stop offset="34%" stop-color="orange" />
      <stop offset="66%" stop-color="orange" />
      <stop offset="67%" stop-color="green" />
      <stop offset="100%" stop-color="green" />
    </linearGradient>
    <linearGradient id="modele-2" x1="0" x2="0" y1="0" y2="1">
      <stop offset="0%" stop-color="blue" />
      <stop offset="33%" stop-color="blue" />
      <stop offset="34%" stop-color="orange" />
      <stop offset="66%" stop-color="orange" />
      <stop offset="67%" stop-color="blue" />
      <stop offset="100%" stop-color="blue" />
    </linearGradient>
    <linearGradient id="modele-3" x1="0" x2="0" y1="0" y2="1">
      <stop offset="0%" stop-color="white" />
      <stop offset="33%" stop-color="white" />
      <stop offset="34%" stop-color="red" />
      <stop offset="66%" stop-color="red" />
      <stop offset="67%" stop-color="orange" />
      <stop offset="100%" stop-color="orange" />
    </linearGradient>
  </defs>
  <g stroke="black" stroke-width="2" fill="white" id="individus">
    <circle cx="25" cy="25" r="10" />
    <circle cx="75" cy="25" r="10" />
    <circle cx="25" cy="75" r="10" />
    <circle cx="75" cy="75" r="10" />
    <line x1="35" x2="65" y1="25" y2="25" />
    <line x1="35" x2="65" y1="75" y2="75" />
  </g>
  <use xlink:href="#individus" transform="translate(100 0)" />
  <g stroke="red" stroke-width="2">
    <line x1="146.5" x2="153.5" y1="17" y2="33" />
    <line x1="146.5" x2="153.5" y1="67" y2="83" />
  </g>
  <g font-size="8" stroke="black" text-anchor="middle">
    <text x="25" y="30">-1</text>
    <text x="75" y="30">-0.8</text>
    <text x="25" y="80">+1</text>
    <text x="75" y="80">+0.8</text>
    <text x="125" y="30">-1</text>
    <text x="175" y="30">+1</text>
    <text x="125" y="80">-0.8</text>
    <text x="175" y="80">+0.8</text>
  </g>
  <g stroke="black" stroke-width="2">
    <line x1="50" x2="25" y1="125" y2="175" />
    <circle cx="50" cy="125" r="10" fill="url(#modele-1)" />
    <circle cx="25" cy="175" r="10" fill="url(#modele-2)"/>
    <circle cx="75" cy="175" r="10" fill="url(#modele-3)"/>
  </g>
  <g stroke="black" stroke-width="2">
    <line x1="150" x2="125" y1="125" y2="175" />
    <line x1="134" x2="141" y1="142" y2="158" stroke="red" />
    <circle cx="150" cy="125" r="10" fill="url(#modele-1)" />
    <circle cx="125" cy="175" r="10" fill="url(#modele-3)"/>
    <circle cx="175" cy="175" r="10" fill="url(#modele-2)"/>
  </g>
</svg>