The user is prompted to supply the names of the input and output files, as well as the following:
Plot size in inches (blank line for default)
Window boundaries (XMIN,XMAX,YMIN,YMAX) (blank line for default)
Whether nor not to select specific plot frames (Y or N). If the response is 'Y', then as each frame is encountered, a Y or N response will be required to plot or skip the frame.
Input errors result in a message and a request to re-enter the data. Each response must be on a single line of not more than 72 characters.
The format of the vector file, VCFILE, is (I2,4I4,F10.3). The first two columns contain a code which, depending upon its value, may be folowed by up to five additional numerical fields:
(Initialize new frame) The following five fields contain: the four window extents XMIN,XMAX,YMIN,YMAX, which take values 0-4096; and, the size of the unit square, in cm.
(Terminate frame) No additional data are present.
(Move) The two following fields contain the absolute integer (X,Y) coordinates (0-4096).
(Line) The two following fields contain the absolute integer (X,Y) coordinates (0-4096).
Tkvecs optimizes the vector file by discarding duplicate vectors and deleting intermediate vectors which are on the same line as preceding and following ones. The optimization code requires the ability to compute exact integer products of coordinate differences, which requires that integers of at least 25 bits be available.
This routine was adapted from TKCONV, which outputs a plot file to a new <PLOT79> device.
Nelson H. F. Beebe, Ph.D.
Center for Scientific Computing
South Physics Building
University of Utah
Salt Lake City, UT 84112
Tel: (801) 581-5254
(Manual page by R. P. C. Rodgers, Computer Applications in Laboratory Medicine Project, UCSF, San Francisco, CA 94143).