Performance profile

A performance profile plot comparing the number of iterations of seven algorithms.

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
72
73
74
75
76
77
78
% Full code on github: https://github.com/bvieuble/TeXFantasy
% Appears in my article ``Five-Precision GMRES-based iterative refinement''.
\begin{tikzpicture}
    \begin{axis}
    [
        legend style={at={(0.95,0.53)}, font=\scriptsize},
        width=1.\linewidth,
        height=0.6\linewidth,
        axis x line=left,
        xmin=1,
        xmax=20,
        xmode=log,
        xlabel=$\alpha$,
        xtick={2, 4, 6, 8, 10},
        xticklabels={2, 4, 6, 8, 10},
        axis y line=middle,
        ymin= 0.,
        ymax= 1.,
        y label style={at={(axis description cs:-0.06,0.5)},rotate=90,anchor=south},
        ylabel=$\phi$,
        ytick={0.2, 0.4, 0.6, 0.8, 1},
        yticklabels={0.2, 0.4, 0.6, 0.8, 1},
        grid = major,
        grid style={dashed, gray!30},
    ]

        \addplot[const plot mark mid,
                 solid,
                 color=myorange,
                 very thick
                 ] 
             table[x=val-7,y=perc-7] {\data};

        \addplot[const plot mark mid,
                 solid,
                 color=mygreen,
                 very thick
                 ] 
             table[x=val-6,y=perc-6] {\data};

        \addplot[const plot mark mid,
                 solid,
                 color=myyellow,
                 very thick
                 ] 
             table[x=val-5,y=perc-5] {\data};

        \addplot[const plot mark mid,
                 solid,
                 color=myblue,
                 very thick
                 ] 
             table[x=val-4,y=perc-4] {\data};

        \addplot[const plot mark mid,
                 solid,
                 color=mypurple,
                 very thick,
                 ] 
             table[x=val-3,y=perc-3] {\data};

        \addplot[const plot mark mid,
                 solid,
                 color=myred,
                 very thick,
                 ] 
             table[x=val-2,y=perc-2] {\data};

        \addplot[const plot mark mid,
                 dashed,
                 color=myblue,
                 very thick,
                 ] 
             table[x=val-1,y=perc-1] {\data};

        \legend{BDQ, BDD, BSD, BSS, BBD, BBS, LU: $u_f=$ B}
    \end{axis}
\end{tikzpicture}