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

Private GIT Repository
ch18
[book_gpu.git] / BookGPU / Chapters / chapter5 / figures / ConvergenceMGvsCG.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=15,
19 xlabel={Iteration},
20 xmajorgrids,
21 ymin=1e-015, 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=*,
32 mark options={solid,fill=lightgray!80!black}
33 ]
34 coordinates{
35  (1,1.11117281297868e-009)(2,3.7032857021716e-010)(3,1.1482056058572e-010)(4,6.63185746582935e-011)(5,3.48902350401942e-011)(6,1.67548084515285e-011)(7,9.49021677100105e-012)(8,6.7162146262961e-012)(9,5.49016291656821e-012)(10,4.49221636463641e-012)(11,3.01096229933909e-012)(12,2.49183161209671e-012)(13,2.13974283507885e-012)(14,1.80524531785521e-012)(15,1.40363848508926e-012) 
36 };
37 \addlegendentry{$\text{CG, 129}^\text{2}$};
38
39 \addplot [
40 color=darkgray!40!black,
41 solid,
42 line width=1.0pt,
43 mark=triangle*,
44 mark options={solid,,rotate=180,fill=lightgray!80!black}
45 ]
46 coordinates{
47  (1,3.71691290101988e-007)(2,1.15401960022767e-007)(3,2.41164496357765e-008)(4,1.29245629509121e-008)(5,6.45901703749245e-009)(6,4.3071489767021e-009)(7,2.72837831803784e-009)(8,2.06842579411065e-009)(9,1.5592550254964e-009)(10,1.28849089748517e-009)(11,8.28884843524311e-010)(12,7.02265563610159e-010)(13,5.56318292665472e-010)(14,4.59402758019822e-010)(15,3.81985233718046e-010) 
48 };
49 \addlegendentry{$\text{CG, 513}^\text{2}$};
50
51 \addplot [
52 color=darkgray!40!black,
53 dotted,
54 line width=1.0pt,
55 mark=*,
56 mark options={solid,fill=lightgray!80!black}
57 ]
58 coordinates{
59  (1,1)(2,0.00116423641735564)(3,9.47643076936129e-007)(4,7.71345723931104e-010)(5,6.69383373903487e-013)(6,2.37708014512758e-013)(7,2.35550622458671e-013)(8,2.34597278900766e-013)(9,2.33416592040796e-013)(10,2.35434463123247e-013)(11,2.38296648346267e-013)(12,2.32519985693888e-013)(13,2.36445384272376e-013)(14,2.39270661962332e-013)(15,2.35821328343036e-013) 
60 };
61 \addlegendentry{$\text{MG, 129}^\text{2}$};
62
63 \addplot [
64 color=darkgray!40!black,
65 dotted,
66 line width=1.0pt,
67 mark=triangle*,
68 mark options={solid,,rotate=180,fill=lightgray!80!black}
69 ]
70 coordinates{
71  (1,1)(2,0.00116380571728875)(3,9.47119071084625e-007)(4,7.70812823686196e-010)(5,3.83790712105526e-012)(6,3.77312399369144e-012)(7,3.77980883170241e-012)(8,3.77151952908711e-012)(9,3.78953555356013e-012)(10,3.77480365210621e-012)(11,3.7744104781577e-012)(12,3.75592788697659e-012)(13,3.77747090439981e-012)(14,3.78958267894309e-012)(15,3.77868555930487e-012) 
72 };
73 \addlegendentry{$\text{MG, 513}^\text{2}$};
74
75 \end{semilogyaxis}
76 \end{tikzpicture}%