index.txt
VIEW2D(1) General Commands Manual VIEW2D(1) NAME view2d - movie of a function f(x, y, t) SYNOPSIS view2d [ option ... ] file regrid [ option ... ] file vdata [ option ... ] file DESCRIPTION View2d displays a sequence of functional surfaces on a 5620 or color display. On the 5620, the surface is ruled with a square mesh and pro‐ jected isometrically; on a color display, the surface is viewed from above, with height indicated by color. The options are: -T5 output on the 5620; -T5 is the default when TERM (see environ(7)) is 5620. -Tc output on color display; -Tc is the default when TERM is not 5620. -Tp produces input for plot(1) to produce contour plots. -cn use n colors (n=32 by default) or contours (6 by default). -ps run movie for s seconds (s=5 by default). There are two supported ways to generate input for view2d. Vdata takes ASCII input and allows scattered data; view2d(3) can be called from a program that already has data on a grid. Regrid changes the grid sizes in view2d binary files, with options: -b adds a bar at the bottom of the image indicating time. -nNX[,NY] output grid is NX by NY. -fNF output will have NF frames. -r the plane of closest fit to the first frame is subtracted from all the frames. -mfmin,fmax clips the data to the range fmin,fmax. One option applies to both view2d and regrid: -tTS[,TE] displays frames from TS (default first frame time) to TE (de‐ fault last frame time). Vdata takes input in the following format and converts to input for 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 x y z triples. The order of points is irrelevant. Every (floating point or integer) number must be white space separated. The options are: -nNX[,NY] output grid is NX by NY. -c use piecewise constant rather than linear interpolation. -s scatterplot the data on a black background. -i the data is already on a square grid, in the order x and y as‐ cending with x varying fastest. SEE ALSO view2d(3), view2d(5) Exotic options for photography, color maps, and halftone are described in /usr/lib/view2d/howto. VIEW2D(1)