aboutsummaryrefslogtreecommitdiff
path: root/doc/its.plt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/its.plt')
-rw-r--r--doc/its.plt40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/its.plt b/doc/its.plt
new file mode 100644
index 0000000..944674e
--- /dev/null
+++ b/doc/its.plt
@@ -0,0 +1,40 @@
1# -*- Gnuplot -*-
2# its.plt --- Plot...
3
4set term cairolatex pdf input \
5 blacktext notransparent nocrop \
6 size 12cm,6cm \
7 noheader
8
9set size ratio 0.5
10set lmargin at screen 0.1
11set rmargin at screen 0.9
12set bmargin at screen 0.1
13set tmargin at screen 0.95
14
15set output "./res/its.tex"
16
17set x2label "Номер итерации"
18set y2label "Количество «живых» клеток"
19unset key
20unset grid
21# set grid x mx y my
22# set grid linestyle 1 palette
23# set tics out
24# set xtics .5/3**(n), 1./3**(n - 1), 1 - .5/3**(n)
25# set ytics .5/3**(n), 1./3**(n - 1), 1 - .5/3**(n)
26# set mxtics 3
27# set mytics 3
28# set format x ""
29# set format y ""
30set xrange [1:400]
31set yrange [120:200]
32
33plot for [i=2:11] "./res/its.dat" using 1:i \
34 with lines \
35 linetype 1 linewidth 1 linecolor i
36
37set output "./res/avg.tex"
38plot "./res/avg.dat" using 1:2 \
39 with lines \
40 linetype 1 linewidth 1 linecolor 8