[BACK]Return to hidden.dem CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / demo

Annotation of OpenXM_contrib/gnuplot/demo/hidden.dem, Revision 1.1.1.1

1.1       maekawa     1: #
                      2: # $Id: hidden.dem,v 1.3 1995/03/27 18:07:39 drd 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: set nocontour
                     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: set nogrid
                     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 data style 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: set nocontour
                     60: set nogrid
                     61: set nohidden3d
                     62: set samples 100
                     63: set isosamples 10
                     64: set view 60,30,1,1
                     65: set xrange [-10:10]
                     66: set yrange [-10:10]
                     67: set zrange [-10:10]
                     68: set auto
                     69: set title "" 0,0
                     70:
                     71:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>