File: dirichlet_dg-1d-elevation.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 (21 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set terminal cairolatex pdf color standalone
set output "dirichlet_dg-1d-elevation.tex"

set sample 1000
set colors classic
set size square 0.8
set xrange [0:1]
set yrange [-1.1:1.1]
set xtics (0,0.5,1)
set ytics (-1,0,1)
set xlabel '[c]{\large $x$}'
set  label '[r]{$h=1/10$}' at graph 0.80,0.70
plot \
  cos(pi*x) \
	title '[r]{$u(x)$}' \
	w l lw 1 lc 0 lt 1, \
  "dirichlet_dg-1d-elevation.gdat" \
	title '[r]{$u_h(x)$}' \
	with linespoints lc 1 lw 3 lt 1

#pause -1