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