blob: e75b44febec58626f986e8021344b86ca94e7696 (
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
35
36
37
38
39
40
41
42
43
44
45
46
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
|