# -*- Gnuplot -*- # its.plt --- Plot... set term cairolatex pdf input \ blacktext notransparent nocrop \ size 12cm,6cm \ noheader set size ratio 0.5 set lmargin at screen 0.1 set rmargin at screen 0.9 set bmargin at screen 0.1 set tmargin at screen 0.95 set output "./res/its.tex" set x2label "Номер итерации" set y2label "Количество «живых» клеток" unset key unset grid # set grid x mx y my # set grid linestyle 1 palette # set tics out # set xtics .5/3**(n), 1./3**(n - 1), 1 - .5/3**(n) # set ytics .5/3**(n), 1./3**(n - 1), 1 - .5/3**(n) # set mxtics 3 # set mytics 3 # set format x "" # set format y "" set xrange [1:400] set yrange [120:200] plot for [i=2:11] "./res/its.dat" using 1:i \ with lines \ linetype 1 linewidth 1 linecolor i set output "./res/avg.tex" plot "./res/avg.dat" using 1:2 \ with lines \ linetype 1 linewidth 1 linecolor 8