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

« back to all changes in this revision

Viewing changes to doc/pusrman/cvge-dirichlet-nh-h1.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-h1.tex"
 
3
 
 
4
set logscale
 
5
set key bottom
 
6
set size square
 
7
set xrange [1e-2:1e-1]
 
8
set yrange [1e-8:1e-0]
 
9
set xlabel '[c]{$h$}'
 
10
set  label '[l]{$|u_h-\pi_h(u)|_{1,2,\Omega}$}' at graph 0.05,0.9
 
11
 
 
12
set xtics (\
 
13
        '[l]{$10^{-2}$}' 1e-2, \
 
14
        '[r]{$10^{-1}$}' 1e-1)
 
15
set ytics (\
 
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
        '[r]{$10^{0}$}' 1e-0)
 
21
 
 
22
graph_ratio = 1.0/8.0
 
23
 
 
24
# triangle a droite, pente +1
 
25
slope_A = graph_ratio*1.0
 
26
xA =  0.12
 
27
yA =  0.70
 
28
dxA = 0.10
 
29
dyA = dxA*slope_A
 
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
 
34
 
 
35
# triangle a droite, pente +2
 
36
slope_B = graph_ratio*2.0
 
37
xB =  0.12
 
38
yB =  0.42
 
39
dxB = 0.10
 
40
dyB = dxB*slope_B
 
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
 
45
 
 
46
# triangle a droite, pente +3
 
47
slope_C = graph_ratio*3.0
 
48
xC =  0.12
 
49
yC =  0.20
 
50
dxC = 0.10
 
51
dyC = dxC*slope_C
 
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
 
56
 
 
57
plot \
 
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
 
61
 
 
62
#pause -1 "<retour>"