1
set terminal epslatex color standalone
2
set output "cvge-dirichlet-nh-linf.tex"
8
set yrange [1e-10:1e-2]
10
set label '[l]{$\|u_h-\pi_h(u)\|_{0,\infty,\Omega}$}' at graph 0.05,0.9
12
'[l]{$10^{-2}$}' 1e-2, \
13
'[r]{$10^{-1}$}' 1e-1)
15
'[r]{$10^{-10}$}' 1e-10, \
16
'[r]{$10^{-8}$}' 1e-8, \
17
'[r]{$10^{-6}$}' 1e-6, \
18
'[r]{$10^{-4}$}' 1e-4, \
19
'[r]{$10^{-2}$}' 1e-2)
23
# triangle a droite, pente +2
24
slope_A = graph_ratio*2.0
29
set label "[l]{\\scriptsize $2=k+1$}" at graph xA+dxA+0.02, yA+0.5*dyA right
30
set arrow from graph xA, yA to graph xA+dxA, yA nohead
31
set arrow from graph xA+dxA, yA to graph xA+dxA, yA+dyA nohead
32
set arrow from graph xA+dxA, yA+dyA to graph xA, yA nohead
34
# triangle a droite, pente +3
35
slope_B = graph_ratio*3.0
40
set label "[l]{\\scriptsize $3$}" at graph xB+dxB+0.02, yB+0.5*dyB right
41
set arrow from graph xB, yB to graph xB+dxB, yB nohead
42
set arrow from graph xB+dxB, yB to graph xB+dxB, yB+dyB nohead
43
set arrow from graph xB+dxB, yB+dyB to graph xB, yB nohead
45
# triangle a droite, pente +4
46
slope_C = graph_ratio*4.0
51
set label "[l]{\\scriptsize $4$}" at graph xC+dxC+0.02, yC+0.5*dyC right
52
set arrow from graph xC, yC to graph xC+dxC, yC nohead
53
set arrow from graph xC+dxC, yC to graph xC+dxC, yC+dyC nohead
54
set arrow from graph xC+dxC, yC+dyC to graph xC, yC nohead
57
"cvge-dirichlet-nh-P1-ut.gdat" u (1./$1):($4) t "[r]{$k=1$}" w lp, \
58
"cvge-dirichlet-nh-P2-ut.gdat" u (1./$1):($4) t "[r]{$k=2$}" w lp, \
59
"cvge-dirichlet-nh-P3-ut.gdat" u (1./$1):($4) t "[r]{$k=3$}" w lp