diff options
Diffstat (limited to 'doc/02-measurement.plt')
| -rw-r--r-- | doc/02-measurement.plt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/02-measurement.plt b/doc/02-measurement.plt new file mode 100644 index 0000000..4f8a61f --- /dev/null +++ b/doc/02-measurement.plt | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # -*- Gnuplot -*- | ||
| 2 | |||
| 3 | set term cairolatex pdf input \ | ||
| 4 | blacktext notransparent nocrop \ | ||
| 5 | size 15cm,10cm \ | ||
| 6 | noheader | ||
| 7 | |||
| 8 | set size ratio 0.66 | ||
| 9 | set lmargin at screen 0.1 | ||
| 10 | set rmargin at screen 0.9 | ||
| 11 | set bmargin at screen 0.1 | ||
| 12 | set tmargin at screen 0.9 | ||
| 13 | |||
| 14 | # set term x11 | ||
| 15 | |||
| 16 | set xlabel "Длина" | ||
| 17 | set ylabel "Время (с)" | ||
| 18 | set y2label "Кол-во итерации" | ||
| 19 | |||
| 20 | set format y '10^{%T}' | ||
| 21 | set format y2 '10^{%T}' | ||
| 22 | |||
| 23 | set y2tics | ||
| 24 | set ytics nomirror | ||
| 25 | |||
| 26 | set logscale y | ||
| 27 | set logscale y2 | ||
| 28 | set autoscale | ||
| 29 | |||
| 30 | plot '$datafile' using 1:2 with linespoints lw 5 pt 7 title "Время (с)", \ | ||
| 31 | '$datafile' using 1:3 with linespoints lw 5 pt 6 title "Кол-во итерации" axes x1y2 | ||
| 32 | exit | ||
| 33 | |||
| 34 | # script.plt ends here | ||
