]> AND Private Git Repository - book_gpu.git/blob - BookGPU/Chapters/chapter5/figures/ConvergenceDC.tikz
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ch15
[book_gpu.git] / BookGPU / Chapters / chapter5 / figures / ConvergenceDC.tikz
1 % This file was created by matlab2tikz v0.2.2.
2 % Copyright (c) 2008--2012, Nico Schlömer <nico.schloemer@gmail.com>
3 % All rights reserved.
4
5 % The latest updates can be retrieved from
6 %   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
7 % where you can also make suggestions and rate matlab2tikz.
8
9
10
11 \begin{tikzpicture}
12
13 \begin{semilogyaxis}[%
14 view={0}{90},
15 width=\figurewidth,
16 height=\figureheight,
17 scale only axis,
18 xmin=0, xmax=40,
19 xlabel={Iteration},
20 xmajorgrids,
21 ymin=1e-020, ymax=1,
22 yminorticks=true,
23 ylabel={$||r||_2$},
24 ymajorgrids,
25 yminorgrids,
26 legend style={nodes=right}]
27 \addplot [
28 color=darkgray!40!black,
29 solid,
30 line width=1.0pt,
31 mark=square*,
32 mark options={solid,fill=lightgray!80!black}
33 ]
34 coordinates{
35  (1,1)(2,0.0506217316975815)(3,4.13728572846877e-005)(4,3.36758936095928e-008)(5,2.74110114758822e-011)(6,2.20165610005151e-014)(7,3.06443865504829e-016)(8,1.75214945207812e-016)(9,8.50912905797514e-017)(10,7.44839074042827e-017)(11,1.14402214051839e-016)(12,1.29374560167808e-016)(13,1.14914832790353e-016)(14,1.01282060054824e-016)(15,1.23667672106516e-016)(16,2.01766508192246e-016)(17,1.15908190264103e-016)(18,1.60708856174504e-016)(19,1.69666363803726e-016)(20,1.6358624855131e-016)(21,1.6477224261159e-016)(22,9.70147797484608e-017)(23,1.16122448909072e-016)(24,1.90532496590653e-016)(25,9.34136169423217e-017)(26,2.47826212537881e-016)(27,1.70271163818974e-016)(28,5.01640357748479e-017)(29,1.26474454208514e-016)(30,1.55494319303878e-016)(31,1.5367707065949e-016)(32,1.68043167172392e-016)(33,7.05793445872154e-017)(34,1.03425363172402e-016)(35,1.02089595276661e-016)(36,2.16943120705522e-016)(37,1.23084064716576e-016)(38,1.72821077224885e-016)(39,1.3522792657579e-016)(40,1.07654600729738e-016) 
36 };
37 \addlegendentry{$\alpha\text{ = 1}$};
38
39 \addplot [
40 color=darkgray!40!black,
41 solid,
42 line width=1.0pt,
43 mark=*,
44 mark options={solid,fill=lightgray!80!black}
45 ]
46 coordinates{
47  (1,1)(2,0.0506217316975809)(3,3.88340605014062e-005)(4,2.97652164348045e-008)(5,9.28900165625399e-010)(6,3.09501180693604e-010)(7,1.03155478204996e-010)(8,3.43800175414211e-011)(9,1.14578367654999e-011)(10,3.81839263735159e-012)(11,1.27247164388599e-012)(12,4.24052035446987e-013)(13,1.41319582508407e-013)(14,4.70975597957236e-014)(15,1.5696713945084e-014)(16,5.23884718093278e-015)(17,1.74785550353839e-015)(18,6.38558473578944e-016)(19,2.77214570761666e-016)(20,2.00119515782708e-016)(21,3.31742748070824e-016)(22,2.60757977331796e-016)(23,2.14601598233999e-016)(24,1.94161791218666e-016)(25,1.38222709045968e-016)(26,1.32449368506624e-016)(27,1.13571507397736e-016)(28,1.91295759663603e-016)(29,2.44354472518673e-016)(30,3.35999411194722e-016)(31,1.57533084527989e-016)(32,2.53503615401942e-016)(33,3.31319043166131e-016)(34,1.43822773916355e-016)(35,3.08069351664037e-016)(36,2.88265710613754e-016)(37,3.02736494311095e-016)(38,1.73703183925428e-016)(39,9.63256469186235e-017)(40,1.85260078327103e-016) 
48 };
49 \addlegendentry{$\alpha\text{ = 2}$};
50
51 \addplot [
52 color=darkgray!40!black,
53 solid,
54 line width=1.0pt,
55 mark=triangle*,
56 mark options={solid,fill=lightgray!80!black}
57 ]
58 coordinates{
59  (1,1)(2,0.0506217316975815)(3,3.8833894402016e-005)(4,3.00385798748291e-008)(5,2.4838129394571e-009)(6,1.26900415788962e-009)(7,6.48132844981755e-010)(8,3.31008127193003e-010)(9,1.69063978294709e-010)(10,8.63599155589447e-011)(11,4.41174019778741e-011)(12,2.2538907816977e-011)(13,1.15152334272769e-011)(14,5.88335045918964e-012)(15,3.00598195773591e-012)(16,1.53587586017061e-012)(17,7.84745636148081e-013)(18,4.00962637220082e-013)(19,2.04876328698271e-013)(20,1.0468513246839e-013)(21,5.34914020036982e-014)(22,2.73319718509107e-014)(23,1.39666602628365e-014)(24,7.13832637056559e-015)(25,3.65782678404609e-015)(26,1.87694388909224e-015)(27,1.0559195439729e-015)(28,5.38007745557419e-016)(29,4.43267748729676e-016)(30,2.80140530792879e-016)(31,1.96132903735903e-016)(32,3.56255859637916e-016)(33,2.60268894951747e-016)(34,3.81770813328069e-016)(35,8.36563661829333e-016)(36,3.57020693224175e-016)(37,5.79116610179085e-016)(38,3.39600322864148e-016)(39,6.84649983801023e-016)(40,2.71667034783562e-016) 
60 };
61 \addlegendentry{$\alpha\text{ = 3}$};
62
63 \end{semilogyaxis}
64 \end{tikzpicture}%