~ubuntu-branches/ubuntu/trusty/rheolef/trusty

« back to all changes in this revision

Viewing changes to doc/pusrman/cvge-dirichlet-nh-linf.plot

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set terminal epslatex color standalone
 
2
set output "cvge-dirichlet-nh-linf.tex"
 
3
 
 
4
set logscale
 
5
set key bottom
 
6
set size square
 
7
set xrange [1e-2:1e-1]
 
8
set yrange [1e-10:1e-2]
 
9
set xlabel '[c]{$h$}'
 
10
set  label '[l]{$\|u_h-\pi_h(u)\|_{0,\infty,\Omega}$}' at graph 0.05,0.9
 
11
set xtics (\
 
12
        '[l]{$10^{-2}$}' 1e-2, \
 
13
        '[r]{$10^{-1}$}' 1e-1)
 
14
set ytics (\
 
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)
 
20
 
 
21
graph_ratio = 1.0/8.0
 
22
 
 
23
# triangle a droite, pente +2
 
24
slope_A = graph_ratio*2.0
 
25
xA =  0.12
 
26
yA =  0.77
 
27
dxA = 0.10
 
28
dyA = dxA*slope_A
 
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
 
33
 
 
34
# triangle a droite, pente +3
 
35
slope_B = graph_ratio*3.0
 
36
xB =  0.12
 
37
yB =  0.45
 
38
dxB = 0.10
 
39
dyB = dxB*slope_B
 
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
 
44
 
 
45
# triangle a droite, pente +4
 
46
slope_C = graph_ratio*4.0
 
47
xC =  0.12
 
48
yC =  0.20
 
49
dxC = 0.10
 
50
dyC = dxC*slope_C
 
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
 
55
 
 
56
plot \
 
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
 
60
 
 
61
#pause -1 "<retour>"