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