Manual Page Result
0
Command: view2d | Section: 3 | Source: UNIX v10 | File: view2d.3
VIEW2D(3X) VIEW2D(3X)
NAME
view2d, moviefil - movie of a function f(x, y, t)
SYNOPSIS
view2d(fd, nx, ny, time, u, v, fixuv, pmin, pmax, p)
short p[];
double time;
moviefil(fd, nx, ny, time, outside, f)
float time, outside, f[];
DESCRIPTION
View2d writes a frame in the format view2d(5) onto the file specified
by file descriptor fd. To load these routines, use the ld(1) option
-lview2d. Nx, ny give the grid size. Time is a (nondecreasing) frame
index, typically set to simulation time or iteration count. U and v
describe the relation between pixel values and user function values:
p = u + fx2-v.
U and v may vary from one frame to the next. When the global scaling
is known beforehand, put fixuv = 1 and set pmin and pmax to the limits
of the data. (Otherwise put fixuv=0; pmin and pmax will be ignored.)
P is the nx by ny array of pixel values, with the x index running
fastest. There is a threshold for describing nonrectangular regions:
any pixel value less than or equal to is treated as an out-of-bounds
marker and will appear as black. Other pixel values should lie in the
range -32765..32765 inclusive.
Moviefil is an alternate version that is somewhat less flexible but
easier to use. It takes floats and scales automatically to shorts. An
element of f less than outside is treated as undefined and will appear
as black.
SEE ALSO
view2d(1), view2d(5)
BUGS
The array arguments are 2-D Fortran arrays.
VIEW2D(3X)