blob: 4f8a61f8967c9fefde3da3c6660323701f458d58 (
plain)
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
27
28
29
30
31
32
33
34
|
# -*- Gnuplot -*-
set term cairolatex pdf input \
blacktext notransparent nocrop \
size 15cm,10cm \
noheader
set size ratio 0.66
set lmargin at screen 0.1
set rmargin at screen 0.9
set bmargin at screen 0.1
set tmargin at screen 0.9
# set term x11
set xlabel "Длина"
set ylabel "Время (с)"
set y2label "Кол-во итерации"
set format y '10^{%T}'
set format y2 '10^{%T}'
set y2tics
set ytics nomirror
set logscale y
set logscale y2
set autoscale
plot '$datafile' using 1:2 with linespoints lw 5 pt 7 title "Время (с)", \
'$datafile' using 1:3 with linespoints lw 5 pt 6 title "Кол-во итерации" axes x1y2
exit
# script.plt ends here
|