Sgabello

sgabello.jpg

# Sgabello.
# Script addattato da:
# http://ayapin.film.s.dendai.ac.jp/~matuda/Gnuplot/pm3d.html
#
f1(x,y)=x**6+3*y**2*x**4+(3*y**4-4*y**2)*x**2+y**6
C=1
set pm3d hidden 100
set style line 100 lt 6
set ticslevel 0
set nokey
set xrange[-C:C]
set yrange[-C:C]
set isosamples 30,30
set hidden3d
set size square
set contour
set cntrparam levels discrete 0.05,0,-0.05,-0.5
set terminal jpeg medium size 480,480
set output "sgabello.jpeg"
splot -f1(x,y) w pm3d, -f1(x,y)
set output

Commenti

commenti