-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathlines.gp
More file actions
26 lines (20 loc) · 737 Bytes
/
lines.gp
File metadata and controls
26 lines (20 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
set title 'Lines'
set xlabel 'x'
set ylabel 'y'
set grid
set key below center horizontal noreverse enhanced autotitle box dashtype solid
set tics out nomirror
set border 3 front linetype black linewidth 1.0 dashtype solid
set xrange [0.9:5.7]
set xtics 1, .5, 6
set mxtics 1
set style line 1 linecolor rgb '#0060ad' linetype 1 linewidth 2
set style line 2 linecolor rgb '#ff0000' linetype 1 linewidth 2
set style line 3 linecolor rgb '#00ff00' linetype 1 linewidth 2
set terminal png enhanced
set output 'img/lines.png'
plot 'data/lines.dat' using 1:2 with lines linestyle 1 title 'line1', \
'' using 1:3 with lines linestyle 2 title 'line2', \
'' using 1:($2+$3) with lines linestyle 3 title 'sum'
# set terminal xterm
# replot