File: multimsh.dem

package info (click to toggle)
gnuplot 4.6.0-8
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,920 kB
  • sloc: ansic: 84,661; cpp: 6,631; lisp: 5,013; makefile: 2,129; sh: 1,092; objc: 647; asm: 539; perl: 298; awk: 235; pascal: 194; csh: 179; tcl: 88; python: 46
file content (49 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# $Id: multimsh.dem,v 1.5 2003/10/28 05:35:54 sfeam Exp $
#
set parametric
set hidden3d
unset key
set xrange [0:8]
set yrange [-4:4]
set zrange [-2:2]
set style data line
set title "Demo of multiple mesh per file capability - Digitized Blue Whale"
splot "whale.dat"
pause -1 "Press Return"
set title "Demo of multiple mesh per file capability - Digitized Blue Whale"
set xlabel "Mesh or Network 0"
splot "whale.dat" index 0
pause -1 "Press Return"

set autoscale z
set xlabel "Mesh or Network 6"
set autoscale z
splot "whale.dat" index 6 using 3:2:1 
pause -1 "Press Return"

set zrange [-2:2]
set xlabel "Mesh or Network 12"
splot "whale.dat" index 12 with points
pause -1 "Press Return"

set xlabel "Mesh or Network 13"
splot "whale.dat" i 13
pause -1 "Press Return - A Loop over Indices could be done with reread"

#  #file "loop"
#  maxmsh = 16
#  ind = (ind + 1)%maxmsh
#  splot "whale.dat" i ind
#  reread "loop"

set xlabel "Mesh or Network 4"
splot "whale.dat" i 4
pause -1 "Press Return"

set xlabel "Mesh or Network 5"
splot "whale.dat" i 5
pause -1 "Press Return"

reset