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

Private GIT Repository
modif
[book_gpu.git] / BookGPU / Chapters / chapter5 / figures / poisson_performance.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{loglogaxis}[%
14 view={0}{90},
15 width=\figurewidth,
16 height=\figureheight,
17 scale only axis,
18 xmin=1, xmax=10000000000,
19 xminorticks=true,
20 xlabel={N},
21 xmajorgrids,
22 xminorgrids,
23 ymin=0.0001, ymax=10000,
24 yminorticks=true,
25 ylabel={Time [s]},
26 ymajorgrids,
27 yminorgrids,
28 title={Timings pr 20 iteration},
29 legend style={nodes=right}]
30 \addplot [
31 color=black,
32 solid,
33 line width=1.0pt,
34 mark size=2.0pt,
35 mark=o,
36 mark options={solid}
37 ]
38 coordinates{
39  (81,0.008101)(289,0.016464)(1089,0.013019)(4225,0.023505)(16641,0.024782)(66049,0.028064)(263169,0.050127)(1050625,0.125849)(4198401,0.428832)(16785409,1.650243) 
40 };
41 \addlegendentry{CG (Quadro 570M)};
42
43 \addplot [
44 color=black,
45 dashed,
46 line width=1.0pt
47 ]
48 coordinates{
49  (81,0.00081)(289,0.00289)(1089,0.01089)(4225,0.04225)(16641,0.16641)(66049,0.66049)(263169,2.63169)(1050625,10.50625)(4198401,41.98401)(16785409,167.85409) 
50 };
51 \addlegendentry{O(N)};
52
53 \end{loglogaxis}
54 \end{tikzpicture}%