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

« back to all changes in this revision

Viewing changes to doc/usrman/demo2-P2-uniform.plot

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2010-06-12 09:08:59 UTC
  • Revision ID: james.westby@ubuntu.com-20100612090859-8gpm2gc7j3ab43et
Tags: upstream-5.89
ImportĀ upstreamĀ versionĀ 5.89

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set terminal pslatex auxfile
 
2
set output "demo2-P2-uniform.tex"
 
3
 
 
4
set logscale
 
5
set size square
 
6
 
 
7
set xtics (\
 
8
        "{$10^{-3}$}" 1e-3, \
 
9
        "{$10^{-2}$}" 1e-2, \
 
10
        "{$10^{-1}$}" 1e-1 \
 
11
        )
 
12
set ytics (\
 
13
        "[r]{$10^{-8}$}" 1e-8, \
 
14
        "[r]{$10^{-7}$}" 1e-7, \
 
15
        "[r]{$10^{-6}$}" 1e-6, \
 
16
        "[r]{$10^{-5}$}" 1e-5, \
 
17
        "[r]{$10^{-4}$}" 1e-4 \
 
18
        )
 
19
#
 
20
# figure label
 
21
set label "$P_2$ element" at graph 0.05, 0.90 left
 
22
 
 
23
# x-label
 
24
set label "[r]{$nelt^{-{1 \\over 2}}$}" at graph 0.95, 0.10 right
 
25
 
 
26
set label "[l]{$\\Vert u_h-\\pi_h u\\Vert_{0,2,\\Omega} $}"       at graph 0.15, 0.27
 
27
set label "[l]{$\\Vert u_h-\\pi_h u\\Vert_{0,\\infty,\\Omega} $}" at graph 0.15, 0.47
 
28
 
 
29
# triangle slope: 2
 
30
set arrow from graph 0.60, 0.20 to graph 0.80, 0.20 nohead lt 1
 
31
set arrow from graph 0.80, 0.20 to graph 0.80, 0.5333333 nohead lt 1
 
32
set arrow from graph 0.80, 0.5333333 to graph 0.60, 0.20 nohead lt 1
 
33
set label "[l]{$\\scriptstyle 3 = k+1$}" at graph 0.83, 0.30 left
 
34
 
 
35
plot [1e-3:1e-1][1e-8:1e-4] \
 
36
        "demo2-P2-uniform.gdat" u (1./sqrt($1)):3 notitle with linespoints linetype 1, \
 
37
        "demo2-P2-uniform.gdat" u (1./sqrt($1)):4 notitle with linespoints linetype 1
 
38
 
 
39
#pause -1 "<retour>"
 
40