Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
2
Task/Mandelbrot-set/Gnuplot/mandelbrot-set-1.gnuplot
Normal file
2
Task/Mandelbrot-set/Gnuplot/mandelbrot-set-1.gnuplot
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
set terminal png
|
||||
set output 'mandelbrot.png'
|
||||
9
Task/Mandelbrot-set/Gnuplot/mandelbrot-set-2.gnuplot
Normal file
9
Task/Mandelbrot-set/Gnuplot/mandelbrot-set-2.gnuplot
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
rmax = 2
|
||||
nmax = 100
|
||||
complex (x, y) = x * {1, 0} + y * {0, 1}
|
||||
mandelbrot (z, z0, n) = n == nmax || abs (z) > rmax ? n : mandelbrot (z ** 2 + z0, z0, n + 1)
|
||||
set samples 200
|
||||
set isosamples 200
|
||||
set pm3d map
|
||||
set size square
|
||||
splot [-2 : .8] [-1.4 : 1.4] mandelbrot (complex (0, 0), complex (x, y), 0) notitle
|
||||
Loading…
Add table
Add a link
Reference in a new issue