File: combustion-a-0%2C5.plot

package info (click to toggle)
rheolef 7.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 77,392 kB
  • sloc: cpp: 105,337; sh: 16,014; makefile: 5,293; python: 1,359; xml: 221; yacc: 218; javascript: 202; awk: 61; sed: 5
file content (20 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set terminal cairolatex pdf color standalone
set output "combustion-a-0,5.tex"

set size square
set colors classic
set key center bottom
set xrange [0:1]
set samples 1000
set xlabel '[c]{\large $x$}'
set  label '[l]{\large $u(x)$}' at graph 0.02,0.95

a=0.5
lambda=8*a*a/cosh(a)**2
u(x)=2*log(cosh(a)/(cosh(a*(1-2*x))))

plot \
  u(x) title "[r]{exact}" lc 0 lt 1, \
  "combustion-10-a-0,5.gdat" title "[r]{$h=1/10$}" with lp lc 1 lt 1

#pause -1 "<return>"