From 80893fa3e272d9792ba1206f7006e8defeeccb6e Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 8 Nov 2026 05:51:49 +0300 Subject: publish --- doc/peano-curve-n.plt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 doc/peano-curve-n.plt (limited to 'doc/peano-curve-n.plt') diff --git a/doc/peano-curve-n.plt b/doc/peano-curve-n.plt new file mode 100644 index 0000000..e75b44f --- /dev/null +++ b/doc/peano-curve-n.plt @@ -0,0 +1,47 @@ +# 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 -- cgit v1.3.1