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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
|
.TH VIEW2D 1
.CT 1 graphics
.SH NAME
view2d, regrid, vdata \- movie of a function f(x, y, t)
.SH SYNOPSIS
.B view2d
[
.I option ...
]
.I file
.LP
.B regrid
[
.I option ...
]
.I file
.LP
.B vdata
[
.I option ...
]
.I file
.SH DESCRIPTION
.I View2d
displays a sequence of functional surfaces on a Teletype 5620 or
frame buffer.
On the 5620, the surface is ruled with a square mesh
and projected isometrically;
on a frame buffer, the surface is viewed from above,
with height indicated by color.
The options are
.ta \w'\f5-t\fITS[,TE] 'u
.TP
.B -T5
Output on the 5620;
.TP
.B -Tc
Output on frame buffer (default);
.B -Tc
is assumed when
.L TERM
is not 5620.
.TP
.B -Tp
Produce input for
.IR plot (1)
to produce contour plots.
.TP
.BI -c n
Use
.I n
colors
.RI ( n =32
by default)
or contours (6 by default).
.TP
.BI -p s
Run movie for
.I s
seconds
.RI ( s =5
by default).
.PP
There are two supported ways to generate input for
.IR view2d .
.I Vdata
takes
.SM ASCII
input and allows scattered data;
.IR view2d (3)
can be called from a program that
already has data on a grid.
.PP
.I Regrid
changes the grid sizes in
.I view2d
binary files,
with options:
.TP
.B -b
Add a bar at the bottom of the image to indicate time.
.TP
.BI -n NX , NY
Output grid is
.IR NX\(muNY ;
.BI , NY
may be omitted.
.TP
.BI -f NF
Output will have
.I NF
frames.
.TP
.B -r
The plane of closest fit to the first frame
is subtracted from all the frames.
.TP
.BI -m fmin , fmax
Clip the data to the range
.I fmin,fmax.
.PP
One option applies to both
.I view2d
and
.IR regrid :
.TP
.BI -t TS , TE
Display frames from
.I TS
(default first frame time)
to
.I TE
(may be omitted, default last frame time).
.PP
.I Vdata
takes input in the following format and converts to input for
.IR view2d .
The first line of each frame has
the number of data points in the frame (an integer)
and the time (a floating point value).
The rest of the lines in the frame consist of blank-separated
.I x y z
triples.
The order of points is irrelevant.
The options are:
.TP
.BI -n NX , NY
Output grid is
.IR NX\(muNY ;
.BI , NY
may be omitted.
.TP
.B -c
Use piecewise constant rather than linear interpolation.
.TP
.B -s
Scatterplot the data on a black background.
.TP
.B -i
The data is already on a square grid,
in the order
.I x
and
.I y
ascending with
.I x
varying fastest.
.SH FILES
.F /usr/lib/view2d/*
.SH "SEE ALSO"
.IR view2d (3),
.IR view2d (5),
.IR plot (1)
.br
.F /n/bowell/usr/lib/view2d/howto
for more options and how to run equipment.
|