# peano-curve-n.plt --- Plot n-th iteration of Peano curve and it's 3x magnification -*- Gnuplot -*- set term cairolatex pdf input \ blacktext mono notransparent nocrop \ size 7.5cm,7.5cm \ noheader set size ratio 1 set lmargin at screen 0.1 set rmargin at screen 0.9 set bmargin at screen 0.0 set tmargin at screen 0.95 set output "./res/peano-curve-" . n . ".tex" # set title "Кривая Пеано на итерации $" . n . "$." set x2label "$x$" set y2label "{\\rotatebox{-90}{$y$}}" unset key set grid x mx y my set grid linestyle 1 palette frac 0.8 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 [0:1] set yrange [0:1] plot "./res/peano-curve-" . n . ".dat" using ($1/$2):($3/$4) \ with linespoints \ linetype 1 linewidth 1 \ pointtype 1 pointsize 5./3**n set output "./res/peano-curve-" . n . "-enhanced.tex" # set title "Приближение кривой Пеано на итерации $" . n . "$." set xrange [1./3:2./3] set yrange [1./3:2./3] plot "./res/peano-curve-" . n . ".dat" using ($1/$2):($3/$4) \ with linespoints \ linetype 1 linewidth 1 \ pointtype 1 pointsize 3*5./3**n # peano-curve-n.plt ends here