1#
2#
3set samples 20
4set isosamples 20
5set hidden3d
6set title "Hidden line removal of explicit surfaces"
7
8
9set xrange [-3:3]
10set yrange [-2:2]
11splot 1 / (x*x + y*y + 1)
12pause -1 "Hit return to continue (1)"
13
14set xrange [-1:1]
15set yrange [-1:1]
16splot x*y / (x**2 + y**2 + 0.1)
17pause -1 "Hit return to continue (2)"
18
19set view 70,45
20unset contour
21set xrange [-3:3]
22set yrange [-3:3]
23splot sin(x*x + y*y) / (x*x + y*y)
24pause -1 "Hit return to continue (3)"
25
26set view 60,30
27set xrange [-3:3]
28set yrange [-3:3]
29set zrange [-1:1]
30set ztics -1,0.5,1
31set grid z
32set border 4095
33splot sin(x) * cos(y)
34pause -1 "Hit return to continue (4)"
35
36unset grid
37set ztics autofreq
38set border 31
39set view 75,230
40set contour
41replot
42pause -1 "Hit return to continue (5)"
43
44set view 80,30,1,1
45set style data lines
46# autoranging loses the verticals
47set xrange [0:15]
48set yrange [0:15]
49splot "glass.dat" using 1
50pause -1 "Hit return to continue (6)"
51
52set view 50
53set grid
54replot
55pause -1 "Hit return to continue (7)"
56
57reset
58
59