249
, ...... .. , \' PU8-304S c.\ IT[I Lawrence Berkeley Laboratory UNIVERSITY OF CALIFORNIA Computing Division RECEIVED LAWRENCE: BERKELEY LA8tlQATORY 1985 LIBRARY AND DOCUMENTS SECTiON Introduction toLBL Graphics For Reference' . August 1984 . Not to be taken from this room Prepared for the U.S. Department of Energy under Contract DE-AC03-76SF00098

IT[I Lawrence Berkeley Laboratory - eScholarship

Embed Size (px)

Citation preview

, ......

~'~.~ .. , ~(

\'

PU8-304S c.\

IT[I Lawrence Berkeley Laboratory ~ UNIVERSITY OF CALIFORNIA

Computing Division RECEIVED LAWRENCE:

BERKELEY LA8tlQATORY

JA~~;j 1985

LIBRARY AND DOCUMENTS SECTiON

Introduction toLBL Graphics

For Reference' .

August 1984 . Not to be taken from this room

Prepared for the U.S. Department of Energy under Contract DE-AC03-76SF00098

DISCLAIMER

This document was prepared as an account of work sponsored by the United States Government. While this document is believed to contain COlTect information, neither the United States Government nor any agency thereof, nor the Regents of the University of California, nor any of their employees, makes any warranty, express or implied, or assumes any legal responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by its trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or the Regents of the University of Califomia. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof or the Regents of the University of California.

INTRODUCTION

TO LBL GRAPHICS

August 1984

Lawrence Berkeley Laboratory University of California

Berkeley, California 94720

PUB-3045

Graphics Software

The Computing Services Department supports a number of graphics software packages on the VAX machines. primarily on the IGM VAX. These packages will drive a large variety of different graphical devices. terminals (including various Tektronix terminals. the AED 512 color raster terminal. the 1M LAC Series II vector list processor terminal and others), various styles of plotters and the DICOMED D48 film recorder. We are going to present to you the following graphic software packages.

Tell-A-Graf. Cuechart. Tell-A-Plan. Data Connection DI-3000. Contouring. Grafmaker (including Grafeasy). Grafmaster

Movie.BYU Grafpac

IDDS UGS/HPLOT /HBOOK

SDL/SGL

VMS Introduction Grafpac

Introduction to Grafpac

Grafpac is a LBL developed package of low-level routines for device­independent graphics for a variety of graphics devices. Grafpac is available on all Computation Department VAXes and the CDC 6000s and 7600 (the CDC machines will go away soon). Grafpac routines can be used by RaUor and Fortran programs on the VAX/VMS or can be used by Ratfor. Fortran 77. and C programs on the VAX/UNIX (CSR machines) at LBL. Grafpac provides generalized lettering. the ability to clear the screen (advance frame). plot points. lines. polygons. char­acter strings. full color. interactive capability. and raster images for both on-line and off-line. devices. It contains drivers for many different graphics devices available at LBL. It has a Metafile Generator and Translator.the AED 512 and the OO.AC drivers are available through 01-3000 integration. The IDDS. and SDL/SGL graphics packages utilize the device-independence and device driver capabilities of Grafpac.

In a low-level graphics package each call performs one basic operation. e.g .. drawing a line between points. or plotting. a character string. In a device-independent package the user describes the graphic display with calls which do not refer to specific device characteristics. Care has been taken in cod­ing Grafpac for machine-efficiency considerations. Programs can be moved from one graphical display device to another with few. if any. changes. Grafpac sup­ports two-dimeri.sional graphics. with a small but comprehensive set of output primitives. attributes. and a rudimentary graphics input capability.

Grafpac is useful for several categories of application. Support for Grafpac will be maintained at an adequate level. but it may eventually be supplanted by the GKS (ANSI/ISO Graphical Kernel System) graphics standard.

(1) Gratpac is compact. providing the most basic graphic functionality.

(2) It is portable. between the various computers. operation systems. and pro­gramming languages available at LBL.

(3) It permits use of multiple graphics devices. either simultaneously or sequentially.

(4) It permits access to various graphics hardware at 1..13L.

(5) It supports combined calligraphic (vector or stroke) images and raster images.

(6) It supports interactive graphics.

The Gralpac Modules The GraIpae graphics software is composed of three types of modules. The first type is the Grafpac driver for each supported graphics display device. They provide the general device-independent capabilities.

- 1 -

VMS Introduction Gratpac

The second type of module provides additional, specialized capabilities. Examples are the modules that contain the interactive aids (menus, cursor manipulation, etc.); the vector character fonts (data); the routines needed to draw the vector characters; and the module that allows the use of more than one device.

A third type of module interfaces Grafpac to another software package which in turn interfaces directly to a device. This is a convenient way toget Gratpac output on a device for which there is no Gratpac driver. The inter­face module looks. like a- driver to Gratpac~ An example is the "Df'driver, -which is an inlerface from Gratpac to the DI-3000 graphics package on the Computer Center's IGY machine.

Grafpac Drivers Available on the VAX/VMS: The DICOMED D48C film recorder. the C.ITOH Model 8510a printer. the l..ine Printer, the RA1lTEK 9400 Frame Butler (belongs to the CSR), the 14" VARIAN plotter (belongs to the CSR), the-tO" VARIAN, plotter (have to send the file to the CDC machine for rasterization). the TEJcrRONlX 4012 (ADM-3a with a Retro-graphics board). the TEKTRONlX4014/4016,. the TEKTRONIX 4025, the TEKTRONIX 4027, the TEKTRONIX 4105, the IMLAC Series n. the GIGIIVT 125, the AED 512, the ZETA 1453 plotter, the ZETA 3600 plotter (connected to the CDC machine and will be switched to the VAX. machine), the Non-Graphic CRT terminals, and the lleta1lle Driver.

Sending Plot File to the 10N VARIAN or the ZETA 3600 To send plot files to the 10" VARIAN. you need to create a metafile by running your application program with the CI metafile driver. Then, to post-process the metafile on the CDC machine from a VAX. do :

S bkysubmit/noautoclaim. <tile name> rorOlO.dat.

where <file name> is a file of control cards (,.,ith file type" .job") and con­tains the following:

<job name> .5. 700. <your account. number>. <your login name> retchps.gractst7.revcbn.revcbn. retchps.gpactst.7. vabn. vabn. copy.input..camera. rewind. camera. link.r=revcbn.r=vabn.eo.x. graphic.tllm.lt=va.

To send plot files to the ZETA 3600 (connected to the CDC machine) from a

-2-

VMS Introduction Gratpac

VAX,do:

S bkysubmit <tile name> forOlO.dat/f

where <file name> is a file of control cards (with file type" .job") and con­tains the following:

<job name>.5.700.<youraccount ilumber>.<your login name> copy.input.tllm.. graphic.til.m.tt=zt.

The newly cr<!ated CDC job will cause the plot to be post processed, in the case of VARIAN files. and sent to the appropriate queue for plotting. A listing file will be created showing what happened to your job. Typing S bkystatus on your VAX will list files waiting to be sent to the VAX, including your listing file. Type S bkyclaim <jobname> to transfer the listing file from lhe CDC machine to your directory. For more information on bkysubmit. bkystatus, and bkyclaim type S help bky_~_ on a Computer Center VAX.

Basic Steps for.Using Gratpac

(1) Call tvinit before making any other Gratpac calls.

(2) Define world window (wxmin. wxmax. wymin. wymax).

(3) Observe the following linking rules -- always link the longest names first, e.g., link opn.obj before tk.olb before d.obj. Always load d.obj when using opn.obj.

(4) Call tvend at the end of the graphics portion of your program.

Introduction to Metatlles A metafile is an intermediate, device-independent graphics output file. From the application point of view. the metafile is just another (output-only) device to which graphics output is being written. Gratpac provides Metafile Drivers (writers) whose user interface is identical to other device drivers. Gratpacalso provides Metatlle ReaderlTranslator to handle metafiles. MetatUes are especially useful for --

• quick viewing of plots and avoiding turnaround on off-line devices • review and selection of a few pictures for a sequence • delayed selection of a particular graphic device • plot.ting to a device that does not have a Grafpac driver on your host

machine

-3-

VMS Introduction Grafpac

To create a rnetatile, the melatile driver (instead of a regular device driver) must be loaded with the application program.

The Metafile Reader/Translator interprets the metatiles created by Metafile Drivers and reconstructs all of the original calls to the Grafpac routines. Metafile Reader/Transtator will operate with a terminal, a hardcopy device, or both.

To post-process your metafile, link the post-processor (Reader/Translator) REvc,at least one Grafpac driver, and then run it.

Note: the D module is needed when using the REVC program.

In all caseS theREVC program will prompt you for the name of the metatile to be read. The' format of the CI metatile is ASCII, with fixed-length records of 512 bytes per record.

Interactive Operation of the lleta.file Reader/Translator(REVC) &EVe when run interactively will automatically request user input by displaying the commands that are available. These are:

H P P<num>· o O<num> K K<num> C

F<num> G<num> S

list the commands to see the next picture to see picture number <num> to overlay the next picture on the present picture to overlay picture number<num> on the present picture to keep the present picture to keep picture number <num> to display all pictures. and make hardcopies on the Tektronix 4631 to set tilter to <num> to set global scale factor to <num> to stop

Note: in order to use the K commands. a hardcopy driver must be loaded, along with an interactive device driver.

A maximum of 250 pictures can be shown from one input file. and a max­imum of 11 pictures can be simultaneously overlaid (Le .. at most ten 0 com­mands can follow a P command). It is not necessary to look at the pictures ina file in sequential order .

...... ~ •.................................•.......................................

-4-

Q

VMS

·Ii

'.'

Introduction Gratpac

More information may be found by typing (on the VAX/VMS):-

S HELP @GRAFHELP GRAFPAC

or ask the HELPDESK person at Bldg 50B/1275

Users Manuals for the VMS Grafpac or UNIX Grafpac are in the Computation Department.

Contact Maggie Morley x5529 Bldg 50B/1245A

-5-

VMS Appendix A - Examples Gratpac

Gratpac Examples on the VAX/VMS

Sequential Plotting to Multiple Devices

The following example demonstrates the use of the SWITCH module. The pro­gram first plots a circle to a terminal, then repeats the plot to a hardcopy device. To copy the following program to your own directory, type (on a Computer Center VAX) :

S copy sys_gralpac:swtest.exp .. -program check

c c this program plots a circle to an interactive device and then c plots a circle to a hardcopy device using tvsw.

c

c c

dimension a(30). b(30)

c grafpac initialization, initializes all drivers in one call call tvinit

c c generate circle coordinates c

n=30 delta = (2. ~.14159)/tloal(n-l) do 20 i=l.n a(i) = cos (delta ·(i-l» b(i) = sin (delta ·(i-l»

20 continue c c plot to the terminal

c call lvset (4hitll.6) call lvs..r (4hterm)

c set up world coordinates c

call tvwind (-2.0. +2.0, -2.0. +2.0) c c erase screen c

call tvnext-c

A-I

.i,i

VMS Appendix A - Examples

c plot circle c

call tvplot (a, b, n, 4hline) c c tiush butfer lo complete picture

c call tvsend

c c plot to lhe hardcopy device c

call tvset (4hi1il,B) call tvsw (4hhard)

c c advance frame c

calltvnert c c plol circle c

call tvplot (a, b, n, 4hline) c c exit grafpac and tiush butfers c

calltvend end

The link command below loads the program with the TEKTRONIX 4014 driver and the 10" ZETA driver. The ZETA plot file, forOOB.dat, should be senl to the ZETA plotter by using the command S plotsend

S forswtest.exp Slink swtest, sys_gratpac:opn, tic. zt/lib, d S runswtest

Grafpac

The output of this program from lhe TEKTRONIX 4014 and the ZETA plotter are on the following pages.

A-2

. I

. I

VMS Appendix A - Examples .Grafpac

Interactive Example

This example illustrates the use of comment. frame. lpenhit and menu It plots a variety of symbols, triangles, squares and circles, which can be scaled and rotated. Use of the TEKTRONIX 4014 is assumed in the commands. To copy the following program to your own directory, type (on a Computer Center VAX) :

I copy sys_grafpac:symbolexp ••

prograxngraphics c c this program tests graphic input to plot symbols c (boxes, circles, triangles) at the coordinates the c user picks c c

c c

common Itvhitl xn.yn.xndc.yndc.mess(80).init( 1 O).cursize. x wxmn. wymn.1f'XDll[. wymx

dimensionmenu1(8).x(37), y(37) integer~ itest

c data load menu items

c c c c

data menul/7 ,3hbox,4hcirc,4htrla,4hscal.3hrot,·4heras,3hendl data·radn/.017453291 data rot/O.!, scale/1.1

data radius/2.1

write out instructions

type 5000 5000 format ('S Would you like information on using this',

x ' program (yIn):') accept 5500, itest

5500 format (al)

c c

it (itest.ne. 'n') then type 6000 type 6500 accept 7000. itest

endif

A-3

.I?

VMS

c c c c c

c

Appendix A - Examples

initialize grafpac, set the graphics output file to forOOS (which will write directly to the terminal), and set the viewport and the world coordinates

call tvinit call tvset (,W' ,6) call tvvielf (.1 •. 9 •. 1 •. 9) call tvwind (0 .• 100 .• 0 .• 100.)

c stpnt = angle of starting point for the first c coordinate in degrees. c It is dependent on the symbol to be plotted. c dinc = is the number of degrees between points plotted. c It is dependent on the symbol; e.g., for a triangle c dinc would be 120 degrees c rot = rotation to be applied to the symbol, default is O. c radius= is the default radius of the symbol, default 2. c scale = factor to be applied to radius for scaling purposes. c c set default symbol to plot a square

stpnt = 45.

dinc = 90. 10 continue

. c clear screen and put up menu call frame call menu (menu 1 )

c 20 continue c accept cursor input and branch to appropriate c menu item picked

callipenhit (menul.kom) go to (100,200.300.400.500,600.700,800) kom

c 100 continue c c c c c

cursor input was detected from the data area; plot the current symbol with its center at that point.

c convert to radians

c c

alpha = radn ·dinc

convert starting point to radians, but first

A-4

. Grafpac

Appendix A - Examples

c see if it needs to be changed because rotation has c been changed

c c

c c

c

if (rot .eq. 0) then

else

end if

no change to starting point start = radn~tpnt

change the starting point start =stpnt+rot if (start.gt.360.) start = start-360. start = radn~tart

c compute needed constants cosd = cos(clIpha) sind = sin(alpha) bcos = cos (start) bsin= sin(start} xcon = xn - xn~osd+yn~ind yeon = yn - yn·cosd-xn~ind

c c compute radius which is the default radius c times the scaling factor

rad =radius~cale c c number of points to compute for

npts = 360.ldinc+1. c c compute first point

c c

x(l} = xn+rad·bcos y(l} = yn+rad·bsin

do rest of points do 110 i=2.npts

xCi} = cosd~(i-l) - sind~(i-l)+xcon y(i) = cosd~(i-l) + sind~(i-l}+ycon

110 continue c c plot the symbol

c

call tvplot (x.y.npts.4hline) go to 20

200 continue

A-5

Grafpac

l'< ..

VMS Appendix A - Examples Grafpac

c c here for a square

stpnt = 45. dine = 90. go to 20

c ... 300 continue

c c here for a circle ,,-

stpnt = O. dine = 10. go to 20

c 400 continu~

c c here for a triangle c

stpnt = 90. dine = 120. go to 20

c 500 continue c c here for scaling c

print 1000 1000 format (' Enter scaling'S)

read 2000, scale 2000 format (f4.2)

go to 20 c 600 continue c c here for inputting rotation angle c

print 3000 .; 3000 format (' Enter Rot. angle'S)

read 4000, rot

~ 4000 format (f6.2) go to 20

c 700 continue c c erase screen

A-6

VMS

c 600 c c c

6000 x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x

6500 7000

Appendix A - Examples

go to 10

continue

end program

call tvend format (//

, This program will plot circles, boxes,' , triangles centered' /" on a location you pick. You can scale' • the figures and' /" rotate them.' , You pick the appropriate symbol by moving' /" the cursor' 'to the appropriate command (e.g., box)' /" and keying in any' , key on the keyboard. Scaling and' /" rotation are also' , picked in the same way except that the' /" program will then' • prompt you for the scaJ.lng factor or' /" rotaUon angle. In typing' , in these numbers you must' /" include the decimal' 'point. For example, to double the' /" character size, type in 2. and 90.' , for rotaUng the' /" figure 90 degrees.' / /" To plot a symbol you must move the cursor' 'to the appro-' /"priate place inside the' , drawn box and key in any character' " on the keyboard. The symbol previously' , selected will be drawn' I' centered on the location picked. ' / /" ERAS will erase the screen and END takes' , you back to DeL:)

format (/' Hit return to ·continue:'S) format (al) end

The link command below loads the program with the TEKTRONIX 4014

A-7

Gratpac

'~"

..

'~

,III

VMS Appendix A - Examples

driver.

Sforsymbol.exp S link symbol. sys~grafpac:aid/lib. tk S run symbol

Grafpac

The following pages are some graphics output (hardcopies from the TEK­TRONIX 4631 hardcopy unit) from running this program on the TEKTRONIX 4014 graphics terminal.

A-a

• run ~ymbol Uould you like information on u~ing thi~ program (y/n):y

Thl~ program will plot circle~# boxes# triangles centered on a location you pick. You can scale the fIgures and rotate them. You pick the appropriate 5ymbol by moving the cur50r to lhe appropriale command (eeg.t box) and keying in any key on the keyboard. Sca ing and rotalion are al~o picked in the 5ame way except lhat the program will lhen prompt you for the 5caling faclor or. rotalion angle. In typing in the58, number5 you mU5t

"include the deci.al polnt. For example, to aouble the character 5ize, type in 2. and 90. for rotating the figure 90 degree5.

To plot a 5ymbol you .U5t Move the cur~or to the appro­riate place in5idethe dr~wn box and key in anycharacler on the keyboard. Th. aymbol previoualy aelected will be drawn centered on the location picked. . .

ERAS will era5ethe 5creen and END take5 you back to DCL.

Hit return to continuel

.' ct (, _L 1:

U G - ." >< So. ·004 G ~ G o ... So. U 0 So. ~ ~ ____ ~U~ ______ ~~~ ______ ~"'~ ______ ~s..~ ______ ~o~ ____ ~

Enter ~caling 2. Enter scaling 3. Enter Rot. angla 30. box Enter scaling 4. Enter Rot. angla 45. Enter Rot. angla 60.

I 6 D Enter scaling 2. . Enter Rot. angle 0. Icirc

D D C> 0 0 Itria

V 0 0 beal

0 0 Irot

V teras

6 0 D end

(: ~ -:t:

U G - ., >< So. .... G ~ G o .... So. U 0 So. ~ ~ ____ ~U~ ______ ~~~ ______ ~~~ ______ ~So.~ ______ ~a:-____ -,

Enler .scaling 6. Enter .scaling 2. Enter .scallng 1. box Enler .scaling 12. Enler .scaling 1.

t> f:::,. ~ Enter Rot. angle ~5.

l> t? [> Enter Rot. angle 15. ~ ~ [> Enler Rot. angle 30. leirc EnLer RoL. angle ~0. ~ t> ~.t> t?

~ .-. .-. t>

I> ~ \ --~- J [> Itria ~

I> f)./ \ ~ l.5ca l 0,

~ \ ° ~ [> 0 rot.

era.s

end

.; ("F ,,;

VMS Appendix A - Examples Grafpac

Using Multiple Drivers

This example is set up to be run in batch mode. To copy the following program to your own directory type (on a Computer Center VAX) :

S copy sys_grafpac:examp1.exp ••

It can be run by doing:

S submit examp1.exp

Running this example will create two graphics files: for011.dat will con­tain the ZETA-ready plot file, and for012.dat will contain a DICOMED-ready plot file for 35mm film. Both of these ,plot files can be sent to their respective devices "by using the commands S plotsend arid S dicomed Following is the listing of the batch program (and the batch commands).

Sfortran/noUst sysSinput examp1!compile the following program

program examp 1 c c··· this program plots a simple line graph using grafpac. c ... in this example it plots a simple line graph to both c··· the zeta and microfiche (com). c c c··· set up needed storage space for arrays c··· and define certain variables needed later

c

dimension x(300),y(300) i= 0

c··· read in data i = 1

10 read(5,1000.end=20) x(i).y(i) 1000 (ormat(2f10.4)

i = i+1 go to 10

20 continue

i = i-1 c

c··· begin graphing section of program ••• c c··· initialize graphics system

call tvinit

A-9

VMS Appendix A - Examples

c c··· call tvopen to open the files for graphics

call tvopen(3hzt .11) call tvopen(3hdc .12)

c c··· set up viewport

call tvview(. t •. 9 •. 1..9) c c··· define the following variables to mins and maxs of data. c··· they will be used as input to and also will be changed c··· by lineup.

c

wxmin. = O. wxma.x = 21000 ..

wymin = 66. wym.ax= 69.

c ... call lineup to figure labels and grid intervals. c··· lineup will change the first two values passed to it. c ... they are then passed to grafpac. via tvwind. and will c ·"define the world coordinate system.

call1ineup(wxmin. wxmax.D%l.nx2) call1ineup(wymin.wym.ax.ny1.ny2) call tVwmd(wxmin. wxmax.wymin. wymax)

c c··· call tvgrid to draw grid and labels

caIl tvgrid(nx 1.n:x:2.ny 1.ny2. 4bgrid. 4hlabe) c c··· plot data

call tvplot(x.y,i.4hline) c c··· plot titles - using vector character font for upper c··· case gothic

call tvset (4hkfon,8) c··· plot x-axis title

call tvset (4hksiz.40) call tvltr(.45 •. D3. 7hz-range. 7)

c··· plot y-axis title. rotating character string 90 degrees call tvset (4hangl.90.) call tvltr(.03.A5. 7hy-range. 7)

c··· exit grafpac call tvend end

! link the previous compiled program using vector characters

A- 10

Grafpac

VMS Appendix A - Examples Grafpac

! and plot simultaneously to the 10." ETA and the DlCOMED Slink/nomap examp1,sys_grafpac:vltr,scribe,opn,aid/lib,zt/lib,dc/lib,d

! execute the program

Srunexamp1 90..0.0.0.0. 68.2948

190..0.0.0.0. 68.2828

350..00.0.0. 68.2513 .'" 550..0.0.0.0. 68.230.4

650..0.0.0.0. 68.2349

750.0.0.0.0. 68.240.9

850..0.0.0.0. 68.240.9

950..0.0.0.0. 68.1794

10.50..0.0.0.0. 68.1929

1150..0.0.0.0. 68.1794

1250..0.0.0.0. 68.1644

1350..0.0.0.0. 68.1629

1450..0.0.0.0. 68.1344

1550..0.0.0.0. 68.1165

1650..0.0.0.0. 68.1150.

1750..0.0.0.0. 68.10.30.

1850..0.0.0.0. 68.0.850.

1950..0.0.0.0. 68.0.745

20.50..0.0.0.0. 68.0.715

2150..0.0.0.0. 68.0.790.

2250..0.0.0.0. 68.0.820.

2350..0.0.0.0. 68.0.685

2450..0.0.0.0. 68.0.370.

2550..0.0.0.0. 68.0.0.11

2650..0.0.0.0. 67.9636

2750..0.0.0.0. 67.9516

2850..0.0.0.0. 67.9546

2950..0.0.0.0. 67.9591

30.50..0.0.0.0. 67.9531

3150..0.000. 67.950.1 .,

3250..0.0.0.0. 67.9426

3350..0.0.0.0. 67.9291

3450..0.0.0.0. 67.9216

3550..0.0.0.0. 67.9186

3650..0.0.0.0. 67.9276

3750..0.0.0.0. 67.9291

3850..0.0.0.0. 67.90.96

3950..0.0.0.0. 67.8826

40.50..0.0.0.0. 67.8451

A- 11

VMS Appendix A - Examples Gratpac

4150.0000 67.8841

4250.0000 67.8751

4350.0000 67.8586

4450.0000 67.8391

4550.0000 67.8377

4650.0000 67.8362

4750.0000 67.8217

4850.0000 67.8287

4950.0000 67.8272

5050.0000 67.8287

5150.0000 67.8346

5250.0000 67.8377

5350.0000 67.8301

5450.0000 67.8032

5550.0000 67.7792

5650.0000 67.7927

5750.0000 67.7762

5850.0000 67.7582

5950.0000 67.7567

6050.0000 67.7642

6150.0000 67.7732

6250.0000 67.7732

6350.0000 67.7717

6450.0000 67.7702

6550.0000 67.7717

6650.0000 67.7657

6750.0000 67.7537

6850.0000 67.7612

6950.0000 67.7897

7050.0000 67.7822

7150.0000 67.7627 7250.0000 67.7402

7350.0000 67.6967

7450.0000 67.6907

7550.0000 67.6982

7650.0000 67.7087

7750.0000 67.7132

7850.0000 67.7132

7950.0000 67.7147 "' 8050.0000 67.7102

8150.0000 67.6907 8250.0000 67.7402

8350.0000 67.7417

8450-.0000 67.7477

A- 12

VMS Appendix A - Examples· Grafpac

8550.0000 67.7192

8650.0000 67.6922

8750.0000 67.6593

8850.0000 67.6457

8950.0000 67.6443

9050.0000 67.6383

9150.0000 67.6443

9250.0000 67.6458

\,,i 9350.0000 67.6413 9450.0000 67.6353

9550.0000 67.6098 9650.0000 67.5888

9750.0000 67.6293

9850.0000 67.6322

9950.0000 67.6263

10050.0000 67.5783

10150.0000 67.5288

10250.0000 67.5048

10350.0000 67.4988

10450.0000 67.5078

10550.0000 67.5198

10650.0000 67.5303

10750.0000 67.5348

10850.0000 67.5303

10950.0000 67;5123

11050.0000 67:4853

11150.0000 67.5213

11250.0000 67.5318 11350.0000 67.5348

11450.0000 67.5033 11550.0000 67.4538

11650.0000 67.4193 11750.0000 67.4028 11850;0000 67.4013

11950.0000 67.4118 12050.0000 67.4313 12150.0000 67.4433 12250.0000 67.4478

." 12350.0000 67.4433

12450.0000 67.4103

12550.0000 67.3833 12650.0000 67.4178 12750.0000 67.4538 12850.0000 67.4658

A- 13

VMS Appendix A - Examples Grafpac

12950.0000 67.4463

13050.0000 67.4118

13150.0000 67.3548

132'50.0000 67.3338

13350.0000 67.3353

13460.0000 67.3488

13560.0000 67.3638

13660.0000 67.3728

13760.0000 67.3713 l.J

13860.0000 67.3428

13960.0000 67.3113

14060.0000 67.3398

14160.0000 67.3503 14260.0000 67.3728 14360.0000 67.3713

14460.0000 67.3233

14560.0000 67.2978

14660.0000 67.2663

14760.0000 67.2528 14860.0000 67.2318 14960.0000 67.2558 15060.0000 67.2753

15160.0000 67.2843

15260.0000 67.2708 15360.0000 67.2363 "

15460.0000 67.2408

15560.0000 67.2483 15660.0000 67.2558 15760:0000 67.2618

15860.0000 67.2363 15960.0000 67.2048

16060.0000 67.1793

16160.0000 67.1643 16260.0000 67.1628 16360.0000 67.1733 16460.0000 67.1898 "', 16560.0000 67.2048

16660.0000 67.2063

16760.0000 67. t 748 "' 16860.0000 67.1808

16960.0000 67.1703

17060.0000 67.1703 17160.0000, 67.1793

17260.booo 67.1880

A- 14

VMS Appendix A - Examples Grafpac

17360.0000 67.1520

17460.0000 67.1280

17560.0000 67.1070

17660.0000 67.0950

17760.0000 67.0968

17860.0000 67.1103

17960.0000 67.1298

18060.0000 67.1403

"" 18160.0000 67.1338

18260.0000 67.0923

18360.0000 67.1043

18460.0000 67.0773

18560.0000 67.0488

18660.0000 67.0533

18760.0000 67.0578

18860.0000 67.0503

18960.0000 67.0428

19060.0000 67.0308

19160.0000 67.0293

19260.0000 67.0353

19360.0000 67.0488

19460.0000 67.0623

19560.0000 67.0638

19660,0000 67.0308

19760.0000 66.99·48

19860.0000 67.0188

19960.0000 67.0203

20060.0000 67.0113

20160.0000 66.9768

20260.0000 66.9798

20360.0000 66.9750

20460.0000 66.9610

The output of this program from the ZETA plotter is on next page . ..

A- 15

"0.0

".0

.. ~

= :: t.. lee.o ~

e.,.o

".0 o. 10000. 10000 .

• -rand" '0

i

.,

VMS Introduction IDDS

Introduction to Integrated Data Display System

A complete version of IDDS is available on the CDC 6000s and 7600 (CDC machines will go away soon). and a limited version on the VAXes. IDDS is a collec­tion of FORTRAN-callable subroutines that interfaces with Grafpac to form a comprehensive. high-level. device-independent Data Display System By high­level. it means that a small-number of simple calls will produce very complex displays. but that great versatility is provided by the ability to modify default internal parameters. By comprehensive. it means that there are many types of displays possible. many ways to look at the same data. and many types of transformation routines available to perform smoothing. interpolation. extrapo­lation. etc. IDDS provides the ability to produce simple 2D plots. polar plots with non-linear radial coordinates, perspective representations of complex 3D solids, surface and contour plots of 2D scalar fields. streamline plots of 2D vector fields. surface plots of 3D scalar fields. color capabilit.ies, etc. The full range of Grafpac drivers is available. The VAX version is limited to certain 2D and 3D graphics rou­tines using hardware characters only.

The routines available on the VAXes fall into the following general categories :-

A) Initialization. termination. control and layout. B) Printing. plotting and line drawing. C) Grids, axes, axis labels and tiUes. D) Three Dimensional Plotting. E) Utility and system routines.

Writing an IDDS program There are several things that must be done in every program that uses IDDS. A mode array (which is the graphic system parameter and communication area) must be established. the graphic system must be initialized and. when you are finished plotting. you must gracefully exit from the system.

The basic steps for writing an IDDS program are:

1. Initialize the graphics system. 2. Change the parameters in a mode array. [option] 3. Generate the plots. 4. Terminate the graphics system.

- 1 -

VMS Introduction IDDS

INTERACTIVE GRAPl-llCS PROGRAMS The VAX version of IDDS will be used most often in interactive mode on some kind of graphics display terminal. Every IDDS program produces a message file (default unit=6) and a graphics output file (default unit= 10). If using the default graphics output file. you would type:

S ASSIGN 'IT FORO 1 a

to send all graphics output to your terminal. If you also have the message file assigned to the terminal (default unit 6 defaults also to the terminal) you will get everything on the screen at once. You can assign your message file to some other logical unit to avoid having the messages printed on top of your graphics picture.

INVOKlNG IDDS ON THE VAX The logical name SYS_lDDS exists on the three computer center V AXes; PDM. NMM and IGM. To compile YOURPRG. link it with IDDS. the Grafpac Tek­tronix 4014 driver. and execute the result. do:

S FORTRAN/lJST YOURPRG.FOR S LINK/MAP YOURPRG.SYS_IDDS/lib.SYS~GRAFPAC:TK S RUN YOURPRG

Note. you must always choose and link a Gralpac driver with IDDS. Consult the Gratpac writeup (see 'HELP @GRAFHELP GRAFPAC') to find the names of the available drivers on the VAX .

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

For more information about IDDS on the VAXes. please type:-

S HELP @;GRAFHELP IDDS

or ask the HELPDESK person at Bldg 50B/1232

Users Guides for IDDS on the CDC machine are in the Computation Depart­ment Library.

Contact 1{aggie Morley x5529 Bldg 508/1245A

-2-

..

..

",

VMS Appendix A - Examples IDDS

There are three IDDS example programs available on the IGM machine, SAMPLEl.FOR, SAMPLE2.FOR, and SAMPLE3.FOR. The SAMPLE2.fOR requires the data file FOR002.DAT. To copy the example programs to your own directory, do :

I COPY GRAPH:....DEBUG:[ GRAPIDCS.IDDS.SAMPLE]SAMPLE·.FOR •.• I COPY GRAPH_DEBUG:[ GRAPIDCS.IDDS.SAMPLE]FOR002.DAT •.•

To compile, and run the example program 'SAMPLEI' with one of the Grafpac driver{e.g. TEK4014) do :

I FOR SAMPLEl I LINK SAMPLEl. SYS_IDDS/LIB. SYS_GRAFPAC:TK I ASSIGN 'IT FORO 1 0 I RUN SAMPLEl

The graphics output will be displayed on the TEK 4014 graphics terminal. After you are done, type:

I DEASSIGN FORO 1 0

The following pages are the souce codes of the example programs and their output from the ZETA plotter .

A-I

VMS Appendix A - Examples IDDS·

PROGRA..\{ SAMPLE! C C THIS PROGRAM PLOTS A CIRCLE WITHOUT CLIPPING ENABLED Al'JD WITH C CLIPPING ENABLED. CTWO FRAMES WILL BE GENERATED. C

. DIMENSION A(100), B(100) C C INITIALIZE GRAPHICS SYSTEM, DEFAULT UNITS FOR MESSAGE FILE AND C GRAPHICS OUTPUT FILE ARE 6 AND 10 C

CALL U:ODESG (0,0,0) C C GENERATE CIRCLE COORDINATES C

DELTA = (2 . .-.3. 14159)/FLOAT(100-l) DO 201=1,100 A(J) ::: COS (DELTA·(J-l» B(I) = SIN (DELTA·(I-l»

20 CONTINUE C C DEFINE WORLD COORDINATE SYSTEM C

CALL SUBJEG(-0.9,-0.9,O~9,O.9) C C SET UP VIEWPORT C

CALL OBJCTG (20.,20.,80.,80.) C C PLOT CIRCLE WITHOUT CLIPPING C

C

CAIJ. GRIDG (0.,0.,0,0) CALL lJNESG (1 OO,A.B) CALL TJTLEG (O,DUll,O,DUll,23, 'CIRCLE WITHOUT CLIPPING')

C ADVANCE FRAME CALLFRAIlE

c C PLOT CIRCLE WITH CLIPPING TURNED ON C TURN ON CLIPPING C

CALL SETSMG(183,7HSUBJECT) CALL GRIDG (0.,0.,0,0) CALL IJNESG (100,A.B) CALL TITLEG (O,DUll,O,DUll,20, 'CIRCLE WITH CLIPPING')

C CEXIT FROM GRAPHICS SYSTEM C

CALLEXITG STOP END

A-2

..

'\

.. .oJ.

...

VMS Appendix A -Examples

PROGRAM SAMPLE2 C C THIS PROGRAM READS IN THE DATA FILE FOR002.DAT Al'1D GENERATES C FIVE 3-D PLOTS . C

DIMENSION PLOT(40) DIMENSION X(40).Y(40).ZT(40.40) DIMENSION U(200). C(200). S(200)

C C SET UP IDDS FOR 3-D C

C

CALL MODESG(O.O.O) CALL BEGIN3(PLOT)

C DEFINE COORDINATE SYSTEMS C

CALL OBJCTG ( 9 .• 9 .• 91.. 91.) PLOT 1 = o. PLOT 2 = 50. PLOT 3 = O. PLOT 4 = 1. PLOT 5 = O. PLOT 6 = 1.

C C AUTOMATIC SCALING C

PLOT(19) = 1. CALL SUBJ3D ( PLOT)

C C 10 DEG. ROTATION IN X-Y PLANE. C

C

PI.DT(S) = 1. PLOT(7) = 10.

C SET UP GRID WITH JUST OUTLINES C

DU = PLOT(2) - PLOT(l) DC = PLOT(4) - PLOT(3) DS = PLOT(6) - PLOT(5) . CALL GRID3D ( PLOT. DU. DC. DS)

C C EVERYTHING IN WORLD CS C

CAll. SF.1'S1tfG ( 14.0.0) C C MAKE CONNECTED LINES C

PLOT(9) = O. C C ENABLE SET OF MAX Al'lD MIN C

PLOT(29) = 1 . C C CHECK DATA C

CALL CHKPLT (PLOT) C C GE~ERATE lJ-AXIS C

A-3

IDDS

VMS Appendix A - Examples

DO 1 1=1.10 U(I) = (1-1)/10

1 CONTINUE C

DO 2 1=11,109 11 = (1-10)/2 . U(l) = FLOAT(Il) + 1. ' IF (2·11 .EQ. I) U(I) = nOAT(Il) + .5

2 CONTINUE C C READ C(U), S(U) C

READ (2,99) (C(I), 1=1,109) READ (2,99) (S(1), 1=1,109)

99 FORMAT (FS.4) C C PLANES C LABELAXES C

CAIJ.. LAB, L3D ! PLOT, I, 5:, 1.3.0) CAIJ.. LABL3D PLOT, 2, .5, 1,4.1) CALLLABL3D PLOT, 3, .5, 1,4.1)

C C TITLE GRAP H C

CALLLEGN3D'! PLOT, 10., D., .9, IB/FRES'NELS INTEGRALS') CALLLEGN3D PLOT, 10., D., .B, 7,'ANDTHE') CALL LEGN3D PLOT, 10., D., .7, 12,'CORNU SPIRAl:)

C , C DRAW CENTER LINE OF SPIRAL C

CALL SEGT3D (PWT, I, U(l), .5, .5, U(109), .5, .5) C C DRAW REST OF BOX. C

C

CALL SEGT3D (PLOT, I, D., 1., D., D., 1., 1.) CALL SEGT3D ( PLOT, I, D., D., 1., D., 1., 1.)

C PLOT -- FIRST PICTURE C

C

CALL UNE3D (PLOT, U, C, S, 109) CALL SHDE3D! PLOT ,109,U,C,S,l,3l CALL SHDE3D PLOT ,109,U,C,S,1.4 CALL SHDE3D PLOT ,l09,U,C,S,l,5 CALL FULSHZZ CALL FRAME

C SET UP IODS FOR 3-D C DEFINE COORDINATE SYSTEMS C

CALL OBJCTG ( 10., 10., 100., 100.) PLOT 1 = -0.5 PLOT 2 =0.5 PLOT 3 = -0.5 PLOT 4 = 0.5 PLOT 5 = -0.5 PLOT 6 = 0.5

C C AUTOMATIC SCALING

A-4

IDDS

VMS Appendix A - Examples

C PLOT(19} = 1. CALL SUBJ3D ( PLOT)

C C NO ROTATION C

PLOT(8} = o. C C SET UP GRID WITH JUST OUTLINES C

CALL AXIS3D(PLOT,O.,O.,O.} C C EVERYTHING IN WORLD CS C .

CALL SETSIIG ( 14, O.O) C C MAKE CONNECTED LINES C

PLOT(9} = O. C C CHECK DATA C

CALL CHKPLT (PLOT) C C GENERATE U-AXIS C

21

11

6 C

DO 11 TI:rA=O,3.14159,3.14159/4 1=-1 DO 21 pm=O,2~.14159,3.14159/100

1=1+1 U&~=0.5.(SIN(n.-rA}).(COS(PID» C 1 =0.5·(SIN(TE..1A)}·(SIN(PID}} S 1 =0.5~S(n.-rA)

CONTINUE CALL LINE3D ( PLOT, U, C, S, 200) CONTINUE DO 5 PID=O,3.14159,3.14159/4

1=-1 DO 6 TETA=O,2~.14159,3.14159/100

1=1+1 Ut~=0.5.(SIN(TE..1A».(COS(PHI» C =0.5·(SIN(TE..1A)}·(SIN(PID}} S 1 =O.5~OS(TE..1A}

CONTINUE

C PLOT - SECOND PICTURE C

CALL LINE3D ( PLOT, U, C, S, 200) 5 CONTINUE

C CALL FRAME

C C PLOT - THIRD PICTURE

IDDS

C CALL GRPH3D(PLOT,U,C,S,200,4,'SAllPLE',4,'SAMPLE',4,'SAMPLE',4,'SAllPLE') CALL FRAME

C C PLOT -- FOURTH PICTURE C

A-5

VMS

c

61

22 12 C

Appendix A - Examples

CALLlWLT3. D(PLOT,10,-.5,.5,.5,-.5,-.5,-.5,.5,.5,-.5,.5,-.5,.5) CALL lWLT3D(PLOT,10,-.5,.5,.5,.5,.5,-.5,-.5,-.5,-.5,.5,-.5,.5) CALLNUMB3D(PLOT,-.5.-.5 •. 5,3,200) CALLFRAlIE PLOT 1 = -1.0 PLOT 2 = 1.0 PLOT 3 = -1.0 PLOT 4 = 1.0 PLOT 5 =-1-PLOT 6 = 1.

CALLSUBJ3D(PLOT) R=-1. DO 611=1.40 X(l)-R Y(l)=R R=R+ 0.04 CONTINUE DO 121=1,40

DO 22 J=1.40 ZT!l.J) = 3·(-(X(I»-2-(Y(J»·~+0.64) J1i" ZT(l.J) .LT. O. ) ZT(l.J) = O. ZT 1.J)=ZT(I.J)-1.

CONTINUE CONTINUE

C PLOT - FIITH PICTURE C

CALL SURFCE (PLOT.x. Y.ZT.40,40.40.0) CALLEXITG STOP END

A-6

IDDS

_ TIll

-=-a .1 .....

....

...

' ..

LI

Lt

LI

L2

LI

.... =­= ... 1

... 2

... 1

" I "

-

VMS Appendix A - Examples IDDS

PROGRAM SAMPLE3 C C THIS PROGRAM GENERATES A 3~D ELLIPTIC PARABOLOID SURFACE PLOTTING C

DDAENSION PLOT( 40),x( 40),Y( 40),ZT( 40,40) DIMENSION U(200), C(200), S(200),

X . UO(200), CO(200), SO(200) C C SET UP IDDS FOR 3-D C

C

CALL MODESG(O,O,O) CALL BEGIN3(PLOT)

C DEFINE COORDINATE SYSTEMS C

CALL OBJCTG ( 10., 10., 100., 100.) CALL CHKPLT(PLOT) PLOT 1 = -1.0 PLOT 2 = 1'.0 PLOT 3 = -1.0 PLOT 4 = 1.0 PLOT 5 =-1. PLOT 6 = 1.

C C AUTOMATIC SCALING C

PLOT(19) =1. CALL SUBJ3D ( PLOT)

C C 45 DEG. ROTATION IN X-Y PLANE. C

C

PLOT(8) = O. PLOT(?) = 45.

C SET UP GRID WITH JUST OUTLINES C . CALL AXIS3D(PLOT,O.,O.,O.)

C C EVERYTHING IN WORLD CS C

CALL SETSMG(14, 0.0) C C MAKE CONNECTED LINES C

PLOT(9) = O. C C ENABLE SET OF MAX AJ'JD MIN C

PLOT(29) = 1. C C CHECK DATA C

CAlL ClIKPLT(PLOT) C C GENERATE U-AXIS C

R = -1.0 DO 61=1,40 X(I)=R

A-?

...

VMS

6

2 1

C

Y(I)=R R = R + 0.05 CONTINUE DO 1 1=1.40

DO 2 J=1.40

Appendix: A - Examples

ZT!I.J) = (-(X(I»·~-(Y(J»·~+0.81) W ZT(I.J) .LT. 0) ZT(I,J) = 0 ZT I.J) = ZT(I.J) - 1. .

CONTINUE CONTINUE

C 3-D TITLE C

CALL TITL3D(PLOT.0.DUM,O.DUM.0.DUM.19:ELLIPTIC PARABOLOID') C C PLOT PICTURE C

CALL SURFCE(PLOT.x. Y.ZT.40.40.40.0) STOP END

A-8

IDDS

IILUPQC ,flPa; ~III

..

l' I I I

CDC Introduction

INTRODUCTION TO THE SURFACE DISPLAY LIBRARY AND

THE SURFACE GRIDDING LIBRARY

SDL/SGL

Dynamic Graphic's Surface Display Library (SDL) and Surface Gridding Library (SGL) is a system for displaying surfaces. which is available on the CDC 6600 and 7600 machines (CDC machines will go away soon). SDL/SGL is currently interfaced to Grafpac.

Surface Display Library The Surface Display Library (SDL) is a library of FORTRAN-callable subrou­tines for generating graphic representations of three-dimensional continu­ous surfaces. in the form of contour maps and full perspective views.

Drawings produced by the SDL routines are used to show the surface of the earth in traditional geographical applications such as site selection and development. land-use and environmental planning. and the representation of aeromagnetic or geological data. The SDL routines also have wider uses for presenting scientific and technical data, ranging from statistical or economic surfaces. to surfaces showing data or physical properties of materials. to abstract surfaces defined by mathematical functions.

Surface Display Formats The Surface Display I.i.brary rout.ines can generate four different kinds of surface representations:

(1) Contour Map -- is a way of representing a surface in 2D. On a contour map there are meaningful scales over the whole surface. and the elevation of any point can be read ott with good accuracy. In addition. the entire surface is visible. with no hidden areas. and accurate distances and angles can be measured from the contour map. The shortcoming of the contour map is that a surface of any complexity cannot easily be visualized from its contour map. and easy skill in using contour maps generally comes with a fair amount of experience.

(2) Contour Key -- is a perspective view of a fiat contour map. its chief use is as· an aid in relating contour maps to perspective views. Since the contour key is "nat" like a contour map. boundary lines and orientation points can be similarly drawn on a contour key without calculating elevations or hidden areas.

(3) Contour Perspective View -- is a combination of a full perspective projet:lion and contours to draw the surface. Because it is a perspective view. the

- 1 -

CDC Introduction SDL/SGL

representation gives a good intuitive grasp of the shape of the surface; but because it also has contour lines, some quantitative information about heights can also be obtained. The contour perspective view has some partic­ular advantages to identify corresponding features when used together with a contour map and a contour key.

(4) Mesh Perspective VieW'-- is a way of representing a surface as though a mesh or grid of lines at right angles were deformed to follow its shape. It is the clearest and simplest representation of a surface. It is immediately intelli­gible to anyone, and gives the most realist.ic pictorial representation of a surface. The mesh perspective view is at the opposite end of the spectrum of surface display formats from the contour map; it offers the greatest aid in visualizing a surface. the least aid in deriving quantitative measurements from a surface.

Routines in the SOL are of three kinds. The first kind .of routines are parameter-setting routines, and their names always begin with" SET". The second kind of routines are calculation routines. their names always begin with "CLC". The third kind of SOL routines are plotting-action routines. named for the action it performs. There are 42 routines in the SOL and is divided into ten parts. each part making up a logical 'section of the Library. The ten seclions are:FS. MO, ED. PL. CS, VS, SD. MA. VA. and Pk

Writing a SOL Program Writing a program to use the Surface Display Library routines can be simplified to len steps (See Appendex - A fat examples).

Step 1.

Step 2.

Step 3.

Step 4.

Step 5.

Step 6.

Initiate plotting. (Section FS. Plot Frame Sequencing)

Select non.,.standard operation mode [optional]. (Section MO. Mode of Operation Selection)

Specify the elevation data properties. (Section ED. Elevation Data Grid Specification)

Specify the plot layout format. (Section PL. Plot Layout Specification)

Specify the contouring parameters. (Section CS. Contouring Specification)

Specify the perspective view parameters.

-2-

CDC

to.

Step 7.

Step 8.

Step 9.

Step 10.

Introduction

(Section VS. Perspective View Specification)

Draw the surface display (Section SD. Surface Display Drawillg) .

Draw surface annotation [optional]. (Section MA. Contour Map Annotation; Section VA. Perspective View Annotation)

Draw plot page annotation and text [optional]. (Section PA. Plot Page Annotation)

Initiate next frame, or terminate plotting. (Section FS. Plot Frame Sequencing)

SDL/SGL

The SDL routines will produce (1) a printable" execution report log" which records all calls to SDL routines with their actual parameter values and any warning or error messages issued by the SDL routines; (2) a stream of com­mands to drive a graphics device which produces the graphic results specified.

Note: the Surface Display Library requires gridded data to draw contour maps and perspective views.

-3-

CDC Introduction SDL/SGL

Surface Gridding Library The Surface Gridding Library (SGL) is a library of FORTRAN-callable subrou­tines for producing numerical representations of three-dimensional con­tinuous surfaces. The routines accept surface height data at scattered points or mathematical functions and produce a rectangular grid. This grid­ded format facilitates further computer processing. such as contouring or surface analysis.

The SGLroutines are very general in the data which they will accept. and ". virtually any data defining a smooth, continuous surface through scattered

points can be successfully converted to a gridded format such as aeromag­netic data, drill hole data, and contour map data. Once a grid has been cal­culated. further grids with different column and row spacing may be quickly' generated. But some information can be lost when refining grids.

Routines in the SGL. are of three kinds. The first kind of routines are parameter-setting routines; their names always begin with "SET". The second kind of routines are calculation routines; their names always begin with "CLC". The third kind of routines are Beginning and Ending routines. There are 12 routines in the SGL and is divided into four parts. each part make up a logical section of the Library. The four sections are: GB, GL. GS and GC.

Writing a SGL Program Writing a program to use the SGJ. routines can be simplified to five steps.

Step 1.

Step 2.

Step 3.

Step 4.

Step 5.

Begin gridding run. (Section GB. Grid Beginning and Ending)

Select non-standard reporting level [optional]. (Section GL. Grid Log and Report)

Specify gridding parameters. (Section GS. Grid Specification)

Perform grid related calculations. (Section GC. Grid Calculation)

Terminate Gridding. (Section GB. Grid Beginning and Ending)

In addition to calculating grids. the SGL routines produce two types of reports: (1) a printable "execution log" recording the names of the SGL

-4-

to

CDC Introduction SDL/SGL

routines called. in order. with lheir actual parameters. and any warning or error messages; and (2) a "gridding report" which shows for each calculaled grid a printer scatter map of the input points and a listing of their values. a printer contour map and some useful analyses of the gridded result.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

For more information about the SDL/SGL packages. please ask the HELP­DESK person at Bldg 50B/1232

Users Guides for the Surface Display Library and the Surface Gridding Library are in the Computation Department Library.

Contact Maggie Modey x5529 Bldg50B/1245A

-5-

CDC Appendix A - Examples SDL/SGL

There are four SDLand one SGL example programs on the IGY machine. The five e'xample programs are: sample 1.for -- a contour map program, sample2.for -­a contour key program, sample3.for -- a contour perspective view, sample4.for -­a mesh perspective view, sample5.for -- a gridding program. The following is the listing of the control cards for sending the example programs from the VAX machine to the CDC 7600 machine. (Every line starting with a '.' on the first column is a comment. The first line of the control card listing contains your

, program's name, priority, account number, and login name.)

SLEXl,05. 700. <ACCTN>, USERNAME .# SDL EXl (IDDS TS2l) GRIDDING

FTN4.R=3.

CXIT. END. FIN.

COPY DATA COPY,INPUT.TAPE2. REWIND.TAPE2.

GET THE BINARY LIBRARIES

GET THE 'GRAFPAC' DRIVER FE:rCHPS.GPACTSI"l.GPACLGO.CIBN.

USE THE SDL LIBRARY FE:rCHPS.SDL. ULIB. ULIB.

. EXECUTE

TIM. F1LES. LlNK.F=LGO,P=ULIB.F=GPACLGO.X. EXIT. DUMP,O. GRUMP,P=OUTPUT. FIN.

TIM. FILES.

A-I

"

CDC Appendix A - Examples

.... : ................. CI REVIEW SEND IT TO THE VAX

DISPOSE,FILM=PR,CC=SS,SC=QG,DT=I. END.

SDL/SGL

You may copy the control cards file, the example programs and the data file to your own directory on the ICM/V AX by typing:

S· copy graph- debug:[grapbics.sdl]yeeexa.job yourname.job S copy graph-debug:[grapbics.sdl]sample·.tor •.• S copy graph-debug:[grapbics.sdl]for023.dat •.•

If you want to send the program to the CDC 7600 machine. change the account number and the username to your own in the yourname.job file. and then type:

S bkysubmit yourname.job sample1.for for023.dat

You will get back two files from the CDC machine. the first one contains the list­ing of the c()ntrol cards and the program. informations about the program excu­tion. an "execution report log". a .. gridding report", a "scatter point map". a "printer contour map". a "listing of the input scattered dala points" (produced by the SGL routines). and an "execution report log" (produced by the SOI~ rou­tines). The second file contains the pictures (in Metafile format) produced by the SOL routines.

To draw the picture on a graphics terminal or send the pictures to a plotter. you have to use the Gratpac REVC (Metafile Translator) program. For example. to draw the pictures on the TEKTRONIX 4014 and the ZETA plotter. do:

S link/exe=tkzt sys_gratpac:revc,opn,tk,zt/Ub.d S run tkzt

The REVC program will prompt you for the input metafile and commands. The command Kl will produce a for012.dat file for the ZETA plotter. To send the data file to the ZE.1A plotter. do:

S PLOTSEND.

The following pages .are the example programs and their output from the ZE.1A plotter and Line printer.

A-2

CDC Appendix A - Examples SDL/SGL

This example program reads in 51 scattered points from a data file. three calls· to the Surface Gridding Library generating the gridded points; thirteen calls to the Surface Display Library producing the Contour Map and all annota­tions. F.very other contour line is a bold "index contour" and is labeled. Notice

. that the labels are all oriented for reading from the bottom of the map.

c c Sample Program 1: Contour Map c

program. cmap(tape2=40.output=40.tilm=40. tape6=output) c Sample program to calculate a grid from scattered points

dimension X(S1). y(Sl). z(Sl). elv(60.60). iwk(3600) c c Read in scattered data points (51) c

read (2.100)x 100 format(f5.2)

read (2.200) y 200 format(fS.2)

read (2.300) z 300 format(fS:2)

c c Call 1. initiate gridding. c

call bgngrd c c Call 2. specify the elevation data properties

c inmxcl. xgdmin. xgdmax. inmyrw. ygdmin. ygdmax call setgrd( 60. 0.0. 10.0. 60. 1.0. 7.0)

c c Call 3. calculate the elevation data grid c c

c •

xptarr.yptarr.zptarr.inmxyz.elvarr.idmxcl.idmyrw. iwkarr.idmwrk

call clcgrd( x. y. z. 51. ely. 60. 60. iwk. 3600)

c Step 1. initiate plotting. c

call bgnpll c c Step 2. select non-slandard operation -- not needed. c

c Step 3. specify eleva.tion data properties. c inmxcl. xgdmin. xgdrnax. inmyrw. ygdmin. ygdmax

A-3

..

CDC Appendix A - Examples

call setxyg( 60, 0.0, 3000.0, 60, 0.0,3000.0)

c c Step 4. specify plot layout format c xfcs, yfcs

call setfcs( 10., 10.) c xfcsmn, xfcsmx, yfcsmn. yfcsmx

call selvwp( 2.0. B.O. 2.0. B.O) .c

c Step 5. specify contouring parameters. c zvlref. zvlint. ithbld. ithlab. itptxt. idcplc

call setcon( 0.0. 50.0. 2. 2. 2. -1) c c Step 6. specify perspective view parameters -- not needed.

c c Step 7. draw the surface display. c elvarr. idmxcl. idmyrw. iwkarr. idmwrk

call conmap( elv, 60. 60. iwk,; 3600) c c Step 8. draw surface annotation (labeled scales). c iftsid. offscl. tikref. tikint. iftdir. tiklen

call mapscl ( 1.· 0.0. 0.0. 500.0. 1. 0.1) call mapscl ( 2, 0.0. 0.0. 500.0. 1. 0.1)

c iftsid. omab. sclref. sclint. itptxt. idcplc

c

call maplab ( t. 0.05. 0.0. 500.0. 1. -1) call maplab ( 2. 0.05. 0.0. 500.0. 1. -1)

c Step 9. draw plot page annotation and text (caption). c Holcon. ichcnt. icharr

call clctxt (9bJlT. THEGE, 9. ich) c iftsid. offcap. ifijst. ittxt. icharr. ichcnt

call captxt ( 3. 0.2. 2. 2. ich. 9) c c Step 10. terminate plotting. c

call endplt call endgrd stop end

SDL/SGL

The output (Contour Map) of this program from the ZETA plotter is on next page.

A-4

... ,-

r:

..

CDC Appendix A - ExamPles SDL/SGL

This example program reads in 51 scattered points from a data file. three calls to the Surface Gridding Library generating the gridded points. ten calls to the Surface Display Library producing the Contour Key (perspective view of a fiat contour map). Scales and contour labels have been omitted on this drawing. which perhaps serves as will to relate the other representations without exces­sive annotation.

c c Sample Program 2: Contour Key c

program ckey (tape2=40,output=40,tilm=40, tape6=output) c sample program to calculate a grid from scattered points

dimension x(Sl), y(S1}, z(Sl}, elv(60,60}, iwk(3600}, ich(SO} c c read in scattered data points (51) c

read (2,1 OO) x 100 format(fS.2}

read (2,200) y 200 format(fS.2)

. read (2,300) z 300 format(fS.2}

c c call 1. initiate gridding. c

call bgngrd c c call 2. specify the elevation data properties c inmxcl. xgdmin, xgdmax, inmyrw, ygdmin, ygdmax

call setgrd( 60, 0.0, 10.0, 60, 1.0, 7.0} c c call 3. calculate the elevation data grid c xptarr, yptarr. zptarr. inmxyz, elvarr, idrnxcl. idmyrw. c iwkarr. idmwrk

call clcgrd( x, y, z, Sl, elv, 60, 60,

• iwk. 3600) c c Step 1. initiate plotting. c

call bgnplt c c Step 2. select non-standard operation -- not needed. c c Step 3. specify elevation data properties.

A-S

CDC Appendix A - Examples

c inmxcl. xgdmin. xgdmax. inmyrw. ygdmin. ygdmax call setxyg( 60, 0.0, 3000.0. 60, 0.0, 3000.0)

c c Step 4. specify plot layout format c xfcs. yfcs

call setfcs( 10., 10.) c xfcsmn, xfcsmx, yfcsmn, yfcsmx

call setvwp ( 2.0, B.O, 2.0, B.O) c c Step 5. specify contouring parameters. czvlref, zvlint, ithbld, ithlab, itptxt, idcplc

call setcon( 0.0, 50.0, 2, 0, 2, -1) c c Step 6. specify perspective view parameters. c datshp, thdinc, phidxy

call setvue( 10.0, 20., 35.0) c c Step 7. draw the surface display. c elvarr, idmxcl, idmyrw, iwkarr. idmwrk

call conkey( elv, 60, 60, iwk. 3600) c c Step 8. draw surface annotation - not needed. c c Step 9. draw plot page annotation and text (caption). c Holcon, ichcnt, icharr

call clctxt (9hMT. TIIEGE, 9, ich) c ifisid, oircap, ifijst, ittxt, icharr, ichcnt

call caput ( 3, -1.5, 2, 3, ich. 9) c

c Step 10. terminate plotting. c

call endplt callendgrd stop

"end

SDL/SGL

The output (Contour Key) of this program from the ZETA plotter is on next page.

A-6

,.

"T. THECE

..

·! .

CDC Appendix A - Examples SDL/SGL

This example program reads in 51 scatt.ered points from a data file, three calls to the' Surface Gridding Library to- generate the gridded points, seventeen calls to the Surface Display Library routines produce the Contour perspective view. In step 6, the option to make the slab base thicker has been used. Notice that the scale labels on the three axes are drawn in perspective to match that of the drawing.

c c Sample Program 3: Contour Perspective View c

program conper(tape2=40.output=40.1ilm=40.tape6=output) c sample program to calculate agrid from scattered points

dimension x(51). y(51). z(~l). elv(60.60). iwk(3600). ich(50)

c' c read in scaltered data points (51)

c read (2.100) x

100 format(f5.2) read (2.200) y

200 format(f5.2) read (2.300) z

300 format(C5.2) c c Call 1. initiate gridding. c

call bgngrd c c Call 2. specify the elevation data properties c inmxcl, xgdmin. xgdmax. inmyrw, ygdmin, ygdmax

call setgrd( 60. 0.0, 10.0, 60. 1.0. 7.0) c c Call 3. calculate the elevation data grid c xptarr .yptarr .zptarr ,inmxyz.el varr ,idmxcl,idmyrw. c iwkarr.idmwrk

call clcgrd( x, y, Z, 51, elv. 60, 60, • . iwk,3600)

c

c Step 1. initiate plotting. c

call bgnplt c c Step 2. select non-standard operation -- not needed. c c Step 3. specify elevation data properties.

A-7

CDC Appendix A - Examples

c inmxcl. xgdmin. xgdmax. inmyrw. ygdmin. ygdmax call setxyg( 60. 0.0. 3000.0. 60. 0.0. 3000.0)

c c Step 4. specify plot layout format c xfcs. yfcs

call seUcs( 10 .• 10,) c xfcsmn. xfcsmx. yfcsmn. yfcsmx

call setvwp ( 2.0. B.O, 2.0, B.O)

c c Step 5. specify contouring parameters. c zvlref. zvlint. ithbld. ithlab. itptxt. idcplc

call setcon( 0.0. 50.0, 2, 2. 2. -1) c c Step 6. specify perspective view parameters. c datshp. thdinc. phidxy

call setvue( 10.0. 20 .• 305.0) c itlslb. slbhgt

call setslb( O. 0~5)

c c Step 7. ~aw the surface display. c elvarr. idmxcl. idmyrw. iwkarr. idmwrk

call convue( elv. 60. 60, iwk. 3600) c c Step 6. ~aw surface annotation (labeled scales on 3 axes). c iflscl. otTscl. tikref. tikint. itldir. tiklen

call vuescl( 1, 0.0. 0.0, 500.0. 1, 0.1) call vuescl( 2. 0.0, 0.0. 500.0, 1, 0.1) call vuescl( 3, 0.0, 0.0. 100.0, 1, 0.1)

c iftsc1. omab. scll·ef. sclint. itptxt. idcptc

c

call vuelab( 1, 0.05, 0.0. 500.0. 1, -1) call vuelab( 2, 0.05. 0.0. 500.0, 1. -1) call vuelab( 3, 0.05. 0.0. 100.0. 1, -1)

c Step 9. Craw plot page annotation and text (caption). c Holcon. ichcnt. icharr

call clctxt (9hMT. nIEGE, 9, ich) c iftsid. otTcap. iftjst, itpxt. icharr. ichcnl

call capUt ( 3. -1.0. 2. 3. ich. 9) c

c Step 10. ~e!"minate plotting. c

call endplt call endgrd stop

A-B

SDL/SGL

CDC Appendix A - Examples SDL/SGL

end

The output (Contour Perspective View) of this program from the ZETA plotter is

on next page.

A-9

HT. THECE

CDC Appendix A - Examples SDL/SGL

This example program reads in 51 scattered points from a data file, three calls to the Surface Gridding Library to generate the gridded points, twenty-two calls to the Surface Display Library routines to produce the Mesh perspective view. Here, in addition to numeric labels on the scales, each scale has a caption of its own drawn in for orientation. The drawing is rather complex.

c c Sample Program 4: Mesh Perspective View c

program· mesper(tape2=40.output=40,1ilm=40. tape6=output) c sample program to calculate a grid from scattered points

dimension x(51). y(51). z(51). elv(60.60). iwk(3600) •. + icba(50). ichb(50). ichc(50). ichd(50)

c c read in scattere.d data points (51) c

read (2.100) x 100 format(f5.2)

read (2.200) y 200 format(f5.2)

read (2.300) z 300 format(f5.2)

c c Call 1. initiate gridding. c

call bgngrd c c Call 2. specify the elevation data properties c inmxcl, xgdmin, xgdmax, inmyrw, ygdmin., ygdmax

call setgrd( 60. 0.0. 10.0. 60. 1.0. 7.0) c

c Call 3. calculate the elevation data grid c c

c •

xptarr,yptarr,zptarr,inmxyz.elvarr,idmxcl,idmyrw, iwkarr,idmwrk

call clcgrd( x. y, z. 51. elv. 60. 60. iwk. 3600)

c Step 1. initiate plotting. c

call bgnplt c c Step 2. select non-~tandard operation -- not needed. c

c Step 3. specify elevation data properties.

A- 10

-.

..

..

CDC Appendix A - Examples

c inmxcl, xgdmin, xgdrnax, inmyrw, ygdmin, ygdmax call setxyg( 60, 0.0, 3000.0, 60, 0.0, 3000.0)

c c Step 4. specify plot layout format c xfcs, yfcs

c

c

call seUcs( 10., 10.) . xfcsmn, xfcsmx, yfcsmn. yfcsmx

call setvwp ( 2.0, 8.0, 2.0, 8.0)

c Step 5. specify contouring parameters - not needed. c c Step 6. specify perspective view parameters. c datshp. thdinc, phidxy

call setvue( 10.0, 20., 35.0) c itlslb. slbhgt

call setslb( 0, 0.5) c c Step 7. draw the surface display. c elvarr. idmxcl. idmyrw, iwkarr, idmwrk

call mshvue( elv, 60, 60, iwk. 3600) c c Step 8. draw surface annotation (labeled scales on 3 axes). c itiscl. offscl. tikref, tikint, itldir, tiklen

call vuescl( I, 0.0. 0.0, 500.0. I, 0.1) call vuescl( 2. 0.0. 0.0, 500.0, 1, 0.1) call vuescl( 3, 0.0, 0.0, 100.0, 1. 0.1)

c itlscl, omab, sciref, sclint, itptxt. idcplc call vuelab( 1. 0.05. 0.0, 500.0, 1. -1) call vuelab( 2. 0.05, 0.0. 500.0, 1. -1) call vuelab( 3, 0.05, 0.0, 100.0. 1. -1)

c holcon, ichcnt. ichan'

c

,c

call clctxt( 12HlfF.Sl" -- EAST, 12. icha) call clcW(14HSOUTH -- NORTH. 14. ichb) call clcW( 4JI1i"Erl", 4. ichc)

itlscl, offcap, ifijst. itptxt, icharr, ichcnt call vuecap( 1 • 0.2. 2. 2. icha. 12) call vuccap( 2. 0.2. 2. 2. ichb. 14) call vuecap( 3. 0.4. 2. 2. ichc. 4)

c Step 9. draw plot page annotation and text (caption). c HoLcon, ichcnt. icharr

call clctxt (9h.MT. nIECE. 9, ichd) c ifisid, offcap. iftjst, iltxl. ichacr, ichcnl

call caput ( 3. -1.0, 2. 3, ich, 9)

A- 11

SDL/SGL

CDC

c c Step 10. Terminate plott.ing. c

call endplt callendgrd stop end

Appendix A - Examples SDL/SGL

The output (Mesh Perspective View) of this program from the ZETA is on the next page.

. A-12

..

..

.~ .

CDC Appendix: A - Examples SDL/SGL

This example program reads in 51 scattered points from a data file, four calls to the Surface Gridding I.i.brary to generate the gridded points.

c Sample Program 5: SGL sample program program sgl (tape2=40.output=40.film.=40. tape6=output)

c Sample program to calculate a grid from scattered points dimension x(51). y(51). z(51). elv(60.60). iwk(3600)

c c Read in scattered data points (51) c

read (2.100) x 100 format(f5.2)

read (2.200) y 200 format(f5.2)

read (2.300) z 300 format(f5.2)

c cCiill 1. iniliale gridding. c

call bgngrd c c Call 2. specify the elevation data properties c inmxcl. xgdmin. xgdmax. inmyrw. ygdmin. ygdmax

call setgrd( 60. 0.0. 10.0. 60. 1.0. 7.0) c c Call 3. calculate the elevation data grid c c

c •

xptarr. yptarr. zptarr. inmxyz. elvarr, dmxcl. idmyrw, iwkarr. idmwrk

call clcgrd( x. Y. z. 51. elv. 60. 60. iwk. 3600)

c Call 4. terminate gridding c

call endgrd stop end

The output (the scatter point map. the printer contour map. and the listing of the input scattered dala points) of this program from the Line printer are on the following pages.

A- 13

.;.

.IGD~IN._. __ ._VALID SCATT ERED OATA POINTS (NOT 1'0 SCALE) __ ._. __ XGO~lX_ Y Y G G 0 0 ! + !II 1 1 X + + + + • I

• + -• • • + • • • + +

• • • +

+ + • + -• •

+ ., + It

• • + •

• · • •

+ + • • + C>

• + + •

• + -• • • • + .. • • •

+ + • -

• •

• + + + • • •

• • + + •

• + •

'l + + + y G + G 0 0 ~ I! I + I N + • + N .XGD~IN._ •••• ~ ••• ___ •• _ •• _____ ••• __ ••••• _____ •• _ •• _ ••••• ___ ••• _IGDI!AI.

.IGDMIN ••••••••• BESULT GRID CORTOOR HAP (NOT TO SCAL!) ••••• __ •• XGD~AI.-Y ABCDE FGHIJKKKKKKJJI HGP ED C B BB CC D GA BC DEfG HIJJJJJJlIHHG P E D C BBBBBBBBBB ce D DAB C D~ FGGHHIIIIlHHGG FED ce CCC DD ~ BCD EEFfGGBBHHH~G FF E· D ccc ecce DDDOO AB C D EEFPGGGGGFFFEEE 0 CCC ODODO xeD EEFFF1PEEE DOD DDO

.• C 0 EEEEE 000000 00000000 • C 0 0 0 !!EEEEE!EE • D EEEEEE 0 0 EEEEEE!!E! !E • D EEFGGGGfEEDOO 0 EE PFFF111FP1PF EE

o EFFGHIIIHGFEE DOD o EFGHIJKKJIHGE E

• 0 E FGHJKLLLKIHGFE • D E PGHIKKLKJlHGF E • 0 EEFGHIJKJIHGF E .• ... •

• 0 ... DO

o OOEIGHHHHHGFEE o DO DEEFFG1FEE DDO ODD EE EE DO 0 o DOD EOOD

E Pl11 GGGGGG Fl1 E E 1 GGGGHBHB GGGGG 11 E

E PGGHBBIIII HBHB GG 1 ! E PG BIIIJJJJIIII BHH G P ~ E EF GHIJJKKKIKJJJ lIB G F E EPGHI.JKI.LLL.I. KK JJ I B G F E E GHIKL ~~! LL K J I H G P E

EGHIKL! H! L K J I H G 1 E E GHIJKL!! ! L K J I H G P E E 1GBJKKL!H L I J I H G F E E FGHIJJKLLLLL KK JIB G F E

E FGGHIJKKKKKK JJ I B G 1 E 000000 EEFFGBIIJJJJJJ II H G P E

... DD

DO o

DO

DO DDOD DO

DOD DOD

00. E FGBBIIIIIIII HH G P E o E1 G BHBH HHBH G P E DEl GGG BH GG 1 E o E 11 GGGGG~GGG 11 E D E PP 11 E o E 1111 11Pl E

o E F1P E D!E EE o EE EEEE

DOD DO EEEEEEEEEEE .C DOD DDDOOO~ODDDO

• CC. o EEEEEE • ce o E If'1F EEE OOOOOD

DO ODOO CC 0 El GG FP E CCOEFG GG F E DD DOD

Y BBB GaBB BB o B PI BB lBBBBB N c

COEFGGG f' E D COEFEFPP E 0 C DEEEEEE D ccccccccec C 0 DD ce

c DDOO CC BBBBB C BB - BBB

ccc c

C

DO DO

o o

o - 0

Y G o H 1

DOl D •

o • o • o D D D D o

-• ...

D • o ... D o _

o • o • o • o • o •

D.

• -• • • • ... • •

y G o PI I N

.XGD~IN_ •••••• _ •• _. ____ •• _____ .~ __ •••• _ •••• ____ •••• ___ ••• ____ •• IGD~lX_

A B C o E

350.0 400.0 450.0 500.0 550.0

F G H I J

600.0 650.0 700.0 750.0 800.0

K 1 I!

850.0 900.0 950.0

~J.~:rl.N(; U~ J.~~U:r ~~A:r~~U~U UATA ~UJ.~T~

POINT X-COORDINATE Y-COORDINATE Z-COOBDI!I1TE INVALID DATA FLAGS ---- ------------ ------------ --------- --------------

1 1.50000 1.70000 ~77.000

2 1.40000 5.60000 525. 000 3 1.60000 1.10000 478.000 4 2.10000 6.00000 521.000 5 2.10000 1.00000 ~79.000

6 2.90000 5.80000 520.000 7 2.40000 1.00000 480.000 8 3.70000 5. ~OOOO 518.000

"'. 9 2.80000 1.20000 ~80.000 10 4.00000 4.70000 519.000 1 1 2 •. 60000 1.70000 610.000 12 3.50000 ".20000 517.000 13 1.80000 1.80000 660.000 14 2.50000 4.10000 513.000 15 3.300 00 1.60000 487.000 16 1.90000 4.40000 517.000 17 2.50000 2.40000 ~86.000 18 .bOOOOO 5.00000 512.000 19 1.60000 2.60000 484.000 20 .700000 5.50000 515.000 • 21 • 700000 2.60000 486. 000 22 1.00000 6.00000 515.000 23 .900000 3.20000 1193.000 24 1.50000 6.30000 517.000 25 .900000 4.40000 508.000 26 2.20000 6.50000 690. 000 27 1.00000 3.90000 503. 000 28 3.70000 6.30000 522.000 29 1.80000 3.40000 498.000 30 4.30000 6.10000 523.000 31 2.70000 3.10000 499.000 32 5.10000 6.00000 52".000 33 3.40000 2.50000 497.000 34 5.90000 6.00000 526.000 35 4.20000 2.00000 499.000 36 6.50000 6.20000 52~.000 37 2.30000 5.30000 933.000 38 7.20000 6.30000 523.000 39 3.10000 4.80000 527.000 40 7.70000 6.30000 522.000 41 1.60000 4.90000 523.000 42 8.30000 6.10000 522.000 43 8.90000 5.80000 521.000 44 7.80000 2.20000 526.000 45 9.10000 5.40000 523.000 46 8.60000 2.20000 525.000 47 9.40000 4.50000 527.000 48 5.00000 4.70000 931.000 49 4.50000 3.80000 527.000 50 5.60000 4.30000 935.000 51 9.50000 3.10000 526.000

• G21 ELAPSED TI~E IN ROUTINE=-INDEF SECONDS • + (RESOLUTION OF Tl~EH IS SEC S/- IF • j C 4 ENDGRD I

S SU~~ABY OP EXECUTION S SGL TOTAL CALLS= 4 S CALLS WITH EBBORS: 0 S GRIDS CALCULATED= 1 S END Of SUl!~ABY

HBOOK

HBOOK is a FORTRAN-callable histogram facility, whose purpose is to define, till and edit h~stograms, scatter plots and tables. The program is primarily used by physicists. It was originally written in almost AL~SI FORTRAN 4, and has been implemented on the IG~{ VAX. The HBOOK manual is on-line. To print it out, type BKYPRINT Hb'JokSDocument:Hbook.d.oc. This documentation is for version 3.00.

Subsequent versions of HBOOK 3 package, including improvements and/or corre-ction of errors, will be numbered in serial order with 2 decimal digits. The original release being :3.00, followed by 3.01, 3.02 etc. The version number appears in the index header.

To obtain ir..formation about the changes affecting new versions, the entry HNEiI'S can be used (in the long version only).

call HNEWS(VERS}

Action: print on the HBOOK output tile the details of modifications intro­duced after a given version.

Parameters: VERS = version, tioating point number (e.g. 3.30) VERS = O. This special value lists all modifications since the intro­duction of HBOOK version 3.00.

HBOOK output consists of resulting histograms, scatter plots or tables, edit on the line printer tile (or other hardcopy device). The output format is for the printer. The data can also be sent to an intermediate disk file. The data can noW" be used in another job. This include sending the. data through the HPLOT pack­age which provides a graphics interface to use other out.put devices, or tn DISPLAY, an interactive program that uses HPLOT calls.

The main application of HBOOK is to summarize data in conjunction with sequential processing of events of the same type, although it can. be used also to represent real functions of 1 or 2 real variables. Its essential features are:

• •

it is d slave system, i.e. you call it when you need it

the instructions are all FORTRAL~ statements, and no data cards in spe­cial for:nat have to be provided

if only some of the options are used, only the relevant part of the pack-age is loaded.

;'

EBOOK provides subroutines to produce one and two dimensional histo-grams. A one dimensional histogram has the axes of type by quantity. A two dimensional histogram has t.he axes of type by type' by quantity.

-1-

IGM Introduction HBOOK

Fundamentals The fundamental s:teps to producing a histogram, a scatter plot or a table

are Booking, Filling and Editing.

Booking:

This is ~ he process of aLlocating space for the histogram. Booking is done via call HBOOKI (l-dimensional), call HBOOK2 (2-dimensional) or call HTABLE where t.itle, number of channels and limits are specified and the histogram identifier (10) are defined.

Filling:

This is ~he process multiplying the quantities in a histogram by a constant. This pr·:lcess is also known a weighting. A histogram that has been booked. can be filled with a call HFILL that references its identifier. If the identifier does not exist, the call has no effect.

HBOOK provides a 'simple mechanism for selective tilling (HLOK/HUNLOK), but the logic to decide whether a histogram has to be filled or not must be written in FORTRA...~ by the user.

Edit.ing:

This is t.he process of formatting the output of t.he histograms. All booked histograms, scatter plots or tables are output to the line printer, via a call llSTDO. Single histograms can be individually output using call HPRINT.

Extra Features Other options available are:

• general title heading for each histogram

• • • •

• • • •

10 = 0

booking of projections and slices of scatter plots and tables

lock/unlock option for selective filling

mere statistical information than given by default

wide range of graphic options to choose what to output, how to do it and how to define the size of the page

access to the contents of histograms and operations between histo­grCtms

least squares fits of 1-, 2- and n-dimensional distributions

smoothing

random number generation

ext.ension of memory on mass storage (Virtual memory)

Things to be Aware of

ID = 0 is an illegal identifier at booking time. However in most. of the other entries defining an option of ID = 0 means that the option is t.o be selected on all exist.ing histograms or plot.s (provided it is meaningful t.o do so). This possibilit.y will be ment.ioned in all entries to which it applies.

-2-

V\1X

Introduction EBOOK

All booking commands that reserve space for histograms or plots require the parameter VMX. that is the estimated maximum population of a single biD. Th 3 number of bits per channel is allocated on the basis of V),{X. (Ddault~ apply if VMX = 0.)

Organiza lion This package is organized as a library. At link time. unsatisfied externals

arr> searched for and loaded. In this way only those subroutines that are going to be used will be loaded. This minimizes the space required.

The input to HBOOK is always a subroutine call of the type

CAl..!. H .... (PAR1.PAR2 ..... PARN)

where PArt l,PAR2 ..... PARN are in:;>ut parameters (in almost every C3.se PARI = lD. the identifier of the histogram affected by the call).

Histogram Area

The fl·or1cing space of HBOOK is an array. normally allocated as the blank commor .. It is necessary to reserve as many locations as requir~d with a dec,larative statement of the type:

COMMON II HMEMOR(5000)

At cxecl..tion time. when histograms are booked. they are accommodated in th~ bld!"k common in the booking order.

To Run Compile your program. link your program including the link Lo the HBOOK

library and run your program.

Fortran m.yprog Link m.yprog. HBOOKSLIBRARY:HBOOKL/L Run myprog

/'/yprog is just an example file name. use the tile name for your program.

-3-

$! File name: $! HEXA~PLE.COM

$! $! $! S! $!­$

created: . 2-JUL-1984 14:41:42.14

Description: Bun HaOOK example(st.

Portran/nolist Hexample

by Edgar Whipple

S $! S

Link HeJCaJDple"HbookSlibrary:Hbookl/library

S $ S $! S!

Define/user_mode Define/user_mode Define/user_mode Run Hexample

End of HEXAK2LE.COM

FarOOl HEXAMPLE.HST Far003 HEXAHPLE.OUT Por022 HEX1MPLE_H~S

! saved histograms ! printed output ! mass-storage mode file

~-

c c c c c c

c c c c c c c C C C

C

••• *.** •• *.*.****.** •••••• * ••••••••••••• * •••••••••••••• ** •••• • • • HBOOK.GENERAL TEST PROGRAM • * • • THESE EXAMPLES WEBE WRITTED IN 1 FOR! TO BUN. • TPC GROUP VAX 11/780. THERE IS AN EXPLICIT • • REFERENCE TO BLANK C08~ON, AND ALL CALLS ABE • • IN THE PROPER FOR! WITHOUT ~ISSING PARAMETERS. • • • • • • • •

6 SA~PLE SUBROUTINES ARE EXECUTED IN THIS EXAMPLE ONE CAN RUN SINGLE EXA~PLES IF DESIRED, HOWEVER BXAMPLE NUMBER 2 SHOULD ALWAYS BE RUN IF LOGICAL FILB 1 IS NOT SAVED

• • • • • •••••••••••••••••••••••••••••••• * ••••••••••• * ••••••••••••••••

COMMON//B(20000)

C -------------------------------------------------------------C

c c C C C C C c c c

c c C

c C C

c

C r

CALL HEXAM1 CALL HOELET (0) CALL HEXA~2 CA LL HDELET (0) CALL HEXAM3 CALL HDELET (0) CALL HEXAM" CALL HOELET (0) CALL HEXAMS CALL HDELET (0) CALL HEXAM6 STOP END SUBROUTINE HEXAM1

•••••••••••••• * •••••••• ** •• * •••••• ** ••• * •••• *.**.* ••• ***.** •• • • • •

HBOOK BASIC EXAMPLE USING 1-DI8ENSION1L HISTOGRAM, SCATTEB PLOT AND TABLE.

• • • • ••••••••••••••••••••• * •••••••••••••• * ••••••••• * ••• * ••••• * •• *. SETS GLOBAL TITLE

CALL HTITL2('EX1MPLE NO = lS')

81XIMU~ SIZE OF BLANK COMMON SET TO 2000

CALL HLI1'IIT(2000)

BOOKING OF 1-011'1, SCATTER PLOT AND TABLE

CALL HBOOKl (10, 'EXAMPLE OF 1-DI1'I HISTOGRA8S',100,1.,101.,0.) CALL HBOOK2(20,'EXA1'IPLE OP SCATTER PLOTS'.100,O •• 1.,30,l •• 31.,30.) CALL HTABLE(30,'EXAMPLE OE A TABLES',lS,l.,16.,JO,1.,31.,1000.)

FILL 1-0I8 HISTOGRAM

00 10 1= 1, 100 X=FLOAT (I) W=10.*PLOAT("OD(I,2S»

10 CALL HFILL(10.X,0 •• W)

X=-0.005 00 20 1=1,100 X=X+0.01 DO 20 J= 1,30 Y=FLOAT (J) IW=MOD (I, 25) .MOD(J, 10) IWMAX=J-~OD(I,25)+10 IF (IW.GT.IVMAI) IW=O W=FLOAT (Ii)

20 CALL HFILL(20,I,Y,V) C C FILL TABLE C

C C C

C

C C C C C C C C

C

00 30 1=1.20 00 30 J=1,30 X=FLOA"T (I) . Y=P'LOAT (J) W=FLOAT (I+J)

30 CALL HFILL(30,I,Y,i)

PRINT ALL HISTOGRA~S WITH AS INDEX

CALL HISTOO

RETURN END SUBROUTINE HEXA~2

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• • • • • •

TEST OF SO~E BOOKING OPTIONS USING aBOOK RANDOM NU~BEa GENERATORS.

• • • ••••••••••••••••••••••••••••••• ** •• **.****** ••• * •••••••••••••• *

COMMON/HEI2/Cl,C2,I~1,Xlt2,XS1,XS2 EXTERNAL HTPUN1,BTFOH2

C ---~----------------------------------------------------------C

C

C C C

C

C

C

C

CALL BTITLE (0)

CALL HLI~IT(20000)

BOOKING

Cl=l. C2=0.5 1M 1=0. 3 X:'2=0.7 IS 1=0.07 IS2=0.12

CALL HBP'UN1(100,'TEST OF HBNDltlS',100,0.,1.,BTFUN1) CALL HST.lB (100) CALL HCOPY(100,10,O)

CALL HBOOKl (1 10, 'HISTOGRAM IS PILLED WITH HTFUN1S' + ,100,0.,1.,1000.)

CALL HBFUN2(200,tTEST OF HBSD!2S·,100,O.,l.,40,O.,l.,HTFUN2) CALL HSC1LE(200.0.) CALL HCOPY(200,20,O)

ra" uannr.".,1" .aTc:'''' OTTTon UT,,"U aor,1' lun aDvn • .,~. 1""" 1

c C FILLING C

C

DO 10 I=1,5000 X= HR NO M1 (100, ID(JM)

10 CALL 8PILL(110,1,0.,1.) DO 20 .1=1,2000 CALL 8RNDM2(200,I,Y)

20 CALL HfILL(210,X,y,1.)

C SlVE ALL HISTOGRA~S ON LUN 1 C

C

C C C

C

C

C C C C C C C

C C C

C C C·

C

CALL HSTORE(O.l)

CALL HDELET (100) CALL HDELET (200)

PRINTING

CALL HPRINT (0) RETURN END FUNCTIOff HTP(JH1 (X)

COMMON/HEX2/Cl,C2,I81,X!2,IS1.IS2

Al=-0.5.«X-IM1)/XS1)··2 A2=-0.5·«X-XM2)/XS2)··2 X1=C1 X2=C2 II' (ABS (A 1). GT. 1. E-", X l=Cl.EXP (A 1) II' (ABS (A2) • GT. 1. E-") 12=C2.EXl' (A2) HTFUff1=X1+X2 RETURN END FUNCTION BTFUN2(X.Y) HTFUN2=BTFUHl (I).BTFUH1 (I) RETURN END SUBROUTINE BEXAM3

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• • • • •

SORE BOOKING OPTIONS • • •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• CALL HTITLE('EXAMPLE NO = 3$')

FETCH ALL HISTOGRAMS SAVED IN EXAMPLE 2

CA LL BFETCH (0,1)

PRINT 1N INDEX 01' ALL HISTOGRAMS NOi IN MEMORY

. CALL BINDEX

RESET BISTS 110 1ND 210. ADD MORE OPTIONS.

CALL HRESET(110,0) CALL HRESET(210,0) CALL HBSTAT (110) CALL HBARX (210) CALL HBPROI(210,0., ,-'" UQC'TT.,.,1" '1 1""" ,

.. _ ... - - ,_. - .-_ .. ---.--, CALL H 1 EVLI (0)

C C NEi PILLING C

c

DO 10 1= 1 , 2000 CALL HPILL(110,HRHDM1(10,IDUM),0.,1.) CALL HRND~2(20,X.Y)

10 CALL HPILL(210,X,Y,1.)

C PRINT THE CONTENTS USING SPECIALIZED PRINTING ROOtINES. C THE SAME RESULTS COULD BE OBTAINED USING BISTDO/HPRINT (0) C OR HPHS. C

c

C C C C C C C

C C C

c c C

C C C

C C C

c

CALL HPHIST(110,0,0) CALL HPSCAT(210) CALL HPHIST(210,4HPROX,0) CALL BPHIST(210,4HBAHY,1) CALL HPHIST(210,4HSLIX,0)

RETURN END SOBROUTINE HEXA~4

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• • • • • ~ORE PRINTING OPTIONS • • ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

DATA XaIN,I~AX/O.,l./

--------------------------_ .. -----------------------------.. . .

CALL HTITLE (' EXA~PLE NO = 4S')

SET LIMIT OP BLANK COMMON TO 6000 voaDS

CALL HL.I~.IT (6000)

PETCR BIST 110 FRO~ LON 1·

CALL HPETCH(110,1)

BOOK TWO NEi BISTOGaA~S

CALL BBOOK1(1000,'TEST OP VARIOOS PRINTING OPTIONSS',40,l.,41.,O.) CALL HBOOK1(iOOO,'TEST OP BIG BINS·,20,XMIN,XMAI,O.) CALL HERROR(1000)

C PILL NEW IDS C

C

C C C

DO 10 I=1,40 J=2·I-1 V=HI(110,J) +H.I(110,J+1)

10 CALL HPILL(1000,F.LOAT(I) ,O.,V)

DO 20 1=1,20 J=S·I W=SQRT(HI(110,J» CALL HII(2000,I,X)

20 CALL BP1(2000,X,W)

SET VARIOOS PRINTING OPTIONS

C

C

C C C C C C

C

C

C

.. . ...... --CALL HPRSTA(110,4HNO CALL HPHIST(110,0,0) CALL H~AXI~(110,100.) CALL HPRCHA(110,4HNO CALL H1EVLI(110) CALL HPHIST(110,O,0)

CALL HPRCHA{1000,4BNO ) CALL HPRCON(1000,4HHO ) CALL HPROT(1000,O,O) CALL HLOGAR(1000) CALL HPRIHT(1000) CALL HINTEG(1000,4HYES ) CALL HPRERR(1000,4HYES ) CALL HBOTAT(1000) CALL HPRINT(1000)

CALL HBIGBI(2000,O) CALL BPBCON(2000,4HNO ) CALL HPRLOW(2000,4HNO ) CALL HPRINT(2000)

RETURN END SUBROUTINE HEXAftS

•••••••••••••••••••••••••••••••••••••••••••••••• * ••••••• * •••••• • • • •

ACCESS TO INPOR~lTIOH AND OPERATIONS ON HISTOGRAMS • • ••••••••••••••••••••••••••••••••••••••••••••••••••••••••• *****.

CO~MON/HEI2/Cl,C2,Xftl.X~2.IS1,XS2 DI~EYSION X(100),Y(100) DlftENSION P~I(6),P~1(6).SIG(6).ST(6),COY(21) EXTERNAL HTPUNl

DIMENSION ITITL1(S) ,ITITL2(S) DATA ITITL1/4HTITL.4HB OP,4H 10 ,4H= 1 ,0/ DATA ITITL2/4.4HTITL.4HE OP,4B 00 ,4B= 2 /

DATA P~I.P~X/6.-1.!30,6*1.E30/ DATA ST/S •• S.,.OOl •• 001,.001 •• 001/

C ---------------------------------------------------------------C

C

C

CALL HTITLE('EXAMPLE NO = SSt) CALL HLIMIT(10000) CALL HPETCH(110,1)

CALL HBOOK1~1.ITITL1,100,0 •• 1.,0.) CALL HCOPY(1.2,ITITL2)

C GET INPOaftATION PROft tD=110 lND PILL NEW IDS C

C

CALL HcrSPAK(110,I,0,0) CALL UCOPY(I.t,lOO) CALL VZERO(X(Sl),SO) CALL HPAK(l,X) CALL HPHIST(l,O,O) CALL YZERO (y, SO) CALL HPAK (2, Y) CALL HPHLST(2,0,0)

."'9'\ .... n ..., ,.'" '., Y'~ ,.ftO.""ft ... " " ........ ,." ... _ "P'U .... "'"

C C C C C C C C

C

C

C C C C

c

c· c C C C C C C

c c C

c C C

C C C

CALL HOPERA(1,4H+ CALL HCOPY(3,4,O}

,2,3,L.,1.}

Cl=200. C2=100. XM 1=0~ 4 XM2=0.6 XS 1=0.1 XS2-=0.1

FI~ 3 WITH FUNCTION HTFUNl DEFINED IN EXA~PLE 2. INITIALIZE THE PARAMETERS, AND PRINT THE RESULTS OF THE LAST ITERATION. SUPERIMPOSE PIT RESULT ON aISTOGBA~. THE FIT RESULTS CAN BE CO~PARED ~ITH THE PARA!ETERS GIVEN IN EXAMPLE 2.

CALL HPIT(3,HTFUN1,b~Cl,CaI2,12,SIG,COV,ST,PSI,PSX)

CALL HPHIST(3,0,0)

1D=4 IS S~OOTHED WITH B-SPLINES STATISTICAL ERRORS (SOaT OP CONTENTS) ARE DRAWN

CALL HSPLll(4,2,14.3,ctiI2) CALL HERROR(4) CALL HPHIST(4,O,O)

RETURN END SUBROUTINE HEXA~6

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• • • • CREATION OF SANI H1STOGRA!S • • USAGE OF DISK AS SASS STORAGE • • • ••••••••• ** ••••••••••••••••••••••••••••••••••••••••••••••••••••

CALL HTITLE('EXA!PLE NO = 6l')

SET LISIT OF ~ESORY AND LOGICAL UNIT FOR DISK

CALL HU!!IT (1500) CALL HISTGO(O")

A PROVISIOI OP 100 HZSTS IS PROVIDED BY OEFAULT

CALL HDISKP(22,100)

BOOK 50 HISTS

DO 1 0 1= 1 , 50 , 2 CALL HBOOKl (I,0,200,O.,2.,0.)

10 CALL HBOOK1(I+1,'USAGE OF D1SK$',100,0.~1.,0.) C

C FILL HISTS USING HRND~l AND HIST 100 OF EIA~ 2 C

C ,..

CALL HFETCH(100,l) CALL HCORE(100) DO 20 1=1,50 DO 20 J=1,1000

20 CALL ffPILL(I,HRND!1(100,IDU!!),O.,1.)

C

CALL H1EVLI(O) CA I.L HBLAC K (1 ) CALL HST AR (2) CALL HSMOOF(2,O,CHI2)

C PRODUCE INDEX, PRIHT PIRST PEV HISTS

c

CALI. BINDEl CALL RPIUNT (1) CALI. HPRIHT(2)

RETURN END

•••• *** •••• * •••••• **.* •••• **.* •• *.** ••••••••• ***~*** ••• * •••• ** ••••• ****** •• **.** .. .. .. II BOO It BEll S *. * • •••• * ••• ** ••• * •• **** •••••• ***.*.***** ••• ******.**.* •• *.* ••• * •••••• **.*** ••• * •••• • • • • * .. .. .. • .. .. • .. .. .. .. .. .. • .. • .. .. * .. • • .. • .. .. • • .. II .. .. .. .. • • .. • .. .. * .. .. • • • • •

.$

• • • • • • •

VERSION 3.00

VERSION 3.01

VERSION .3..02

VERSION 3.03

VERSION 3.04

VERSION 3.05

VERSION 3.06

VERSION 3.07

VERSION 3.08

VERSION 3.09

VERSION 3.10

VE&SIO~ 3.11

V EP S IO If 3. 2 1

VERSION 3.22

SEE DOCUMENTATION 78/01/15

ERROR DETECTED II HDELET 78/01/29 WHEI USED WITH HLC! OB IIDISK'

ERBon III BEITGA 01 IBa 78/02/03

78/02/10 !ORE PRO~ECTION INTRODUCED IN HDELET CORRECTIONS III HS!OOP,H!Acax,llEAD!S.IlBITHS I~PORTABT ERROR IN HPSTAT. SEAM VALUE • R.M.S. ilEa! IlROliG II' LAST C1UlflfEL MOT EMPTY

78/02/23 CALCULATIOR 01' STATISTICS IlAS IlBOIG IN BOPEBA YHEI HBSTAT iAS C1LLED

78/04/01 CORRECTION IN aPITPO iHEI POLYI DEGREE = 1 SaSE !tINOR PRINTIIG COBRECTIORS

78/04/07 Lca/DISK ROUTINES PROTECTED ST1TISTICS NOll CORRECT WITH HOPEB1+8BST1'r Foa (ur+, lH-),

N!~ ROOTIME BPNUT IITRODUCED CALL HFNErI'(ID,LOM)

pnCH FROl! LOGIC1L UNI.f LDB THE NEIT IDBNT'I.1'IER ID IP(IO=O) THE EHD 0.1' PXLE 81S BEER REACHED '1'H1T OElTIO:l P!lU!'ITS TO 81'E SEVERAL TIltES TliE SAME 10 OR THE LOGICAL UBIT LUB .

78/04/14 CORRECTIOH IN HPHEXT SHILL coaRECTION POR PRIlITIIG '1'~TLE AID 10

78/05/14 PILLIBG AID PRIN~IHG PASTER E1ROTECTION EOR ERROR 811

78/05/30 aSToaE PASTER

78/06/16 OUTEIOT SCAlIHIHG PASTER

78/09/03 eaROR CORaEC~En WHEN RROTAT+HLOGAB STATISTICS ~ROHG FOR 2-DI~ waES PRINTED IN SEVERAL PIECES SEW PUNCTIOH RIZ(ID,I) aETURH PUNCTIO! SToaED AT CHANNEL I

UCR - VERSION DP AND RUNNING, SEE DOCU~EH'rATIOI.

uca - TPC - LONG VERSIOHOP ALL CALI.S MUS!" HAVE ALL PlallUTERS

• •• * . *', *. .. •• ., f

*" • •• * * .. • •• • • • •• • •• •

• • • •• • •• * • • • • * . * . • •• • $ .

• *", * ... • III

• • • • * •

• • • 'If:BSION 3.l0 79/0Q/09 • • aca -rpc - LONG AND SHoar ,!aSZONS • • PASTa, BETr!R, SHoarER OJ VAI AHD CDC • • [aCiPO~]BBOO~L.QLB VAX LOJG 'laSlOI • • [tJcapo" ]HBOOKS.QLB VAX SHoar VESSIOK • • BASED Olll CEllS '1EaSIO:' 3.11 • • • • VEaSION 3.J 1 02/16/83 • • ~IlIIoa CHANGES IKr!RHALLr (SHOar VERSIOlf DIES) • .". • P1S~ER. ~OOI1IED ERaoa aEPORr~HG • • • ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

UlIIPL! »0 • ,

..........•..•..........•.••....•••..•••••••••• __ ..... -.---.. -.. ~.---.. -----.. --... -.-.-.. -.. -.-.-.•.•.•..• -...........• --... aCI. Pllrs~CS '" '~Istal 1.JI IlsraGlAI AID PtG~ %IDIZ

.....................................••.. ---.......... -•••.•..•... __ .................................... --.•.......• --....... . 10 leliA .....

..................................•..• ------.-...................... _----.................... --.................. -•.....••• --IXl.PL. 0' '-OIl II$fDGIA~ 10 12 100 I 100 .. 1001.01 0 •. '011 .. 3 ZD 122 0

Z IXllIPLI 0. SC1TrEI PLO~ ZO 5 1000 a I 100 .. 0001.00 0.100 •• 01 ,.2 51' • r 10 O. ,001.01 .. 1101·02 IS? 572 c .

1 IlllIPLI or 1 fAILI 10 10 '00 Z I 15 0.1001·01 0.1601·02 731 Z19 • r 10 ,,100 •• 01 .. 110 •• 02 1'5 ZU· •

e. __ •••••• o ••••••••••••••• __ • _____ ••• ______ •••••••••••• __ •• _._ ••• __ •••• ____ ••••• _._ ••••••• ~ ........ o ••••••••••...............

11101' aTI~ISlflu.

\

~lIISDft farl~ SIZI uP IL~'I CO.ROI lUll UU II ILAd COllao.

1000 o

txAl'IPL2 ~o • I

EIAftPLe or I-DIl'! HISTCGRA!

IISOOK 10 •

250 2110 2JO 220 210 200 190 180 170 160 150 1110 tJO 120 110 100

90 80 70 60 50 110 30 20 10

""AlleU 100 10

1

COIITI!!IITS 100 10

1.

1.01-IDGe 100 10 1.

10 Dnz 2ol0LSt 10 •

-I -1 -1 -1 -u -u -II -U

-I I -I 1 -1 1 -1 1 -1 I -1 1 -1 1 -1 1

-1 1 -I I -I t -1 1 -1 I -1 1 ~ I ~ 1

-1 1 -1 1 -1 1 -1 1 -I 1 -1 1 -1 1 -1 1

-I: 1 -1 1 -1 I -1 1 -I I -1 1 -1 1 -1 I:

-I I -1 1 ~ 1 ~ 1 -1 I -1 1 -1 I: -1 1

-1 1 -1 I ~ 1 ~ 1 -1 I -1 1 ~ I: ~ 1

-1 1 -1 I -1 1 -I: 1 -1 I -1 1 -1 1 -1 1

-I 1 -1 1 -1 1 -1 1 -I 1 -1 1 -1 1 -1 1

-1 I -1 I -1 1 -1 1 -I 1 -1 1 -I 1 -1 1

-I I -1 1 -1 1 -1 1 -I I -1 1 -I I -1 1

-I 1 -1 1 -1 1 -1 1

o o 1 2 3 It 5 6 1 8 9 0 12JII56789012Jlt567890123'56789011311567890123lt5678901231156789012111567890123115678901230567890123'567890

111111111122222 111111111122222 111111111122222 111111111122222 1231156789012311567890123. 123'56789012305.7890123' 121115678901211156789012311 123lt567890121'5678901230 00000000000000~000000000 000000000000000000000000 000000000000000000000000 000000000000000000000000

1 1111111l11222222222233111131Jl' ••• '0 ..... 5S5555555566666666667771777777888888888899999999990

123.567890123.5b78~012J .. 56789012J.567890121 .. 567890123.56789012311567890123,567890123"5678'01230567890

• !NTlIeS • 100 • ILL CHIIIZLS - 0.1200 •• 05 • OIDZ.PtOI • 0.0000 •• 00 ••• 8 • S • 0.285' •• 02

• Ol.!lPLOI • o.OOOOZ.OO • 811 'I~ • 0.10001.01 • 8111 '11.0. • 0.5.33 •• 02 • &.Ioa cal- 0_0000 •• 00

eUIli'LE ~O 2 ,

El~IIPLI or SClfrE8 PLOt

!I800K IO .. 20 DAti 10

CU"'LS 100 a 0 lOA 10 I· 0 I. 2 J . t 5 .6 1 S ,. 0 , a

1 0 123'5618901211156189012111567890123'567890 123.561890 I2J0567890I2J.5678'01.23t56711901230567890123t567890 I I ............................................................................................................... Aal au:

10 29 28 H 26 25 2_ 21 22 21 20 19 IS 11 16 15

'" 13 12

" '0 ., 8 7 6 5

• 'J 2 1

• • • • • • • • • • • • • • • • a a a

• a

• • ,. • a a • a • • a

9(8 8GO' n:U 6CIOO 5~r1lP ~8CCIIO

169CPILO 2<168&C!:CIII .ZJ~56789UCOIP

9' 8CO 7!t. 61:% 5 &PI( ~"CG J69Cr 2116UCI .2JII561119&

9 BG 7! 6C SA

•• l69 21168 023115

9Ea , 8GO' 7ZU 'CIaO ·5&PCP t8CGI[O 369Crno 2e68~CZCU .23t567IUICDI'

tI 8GO 71:L 6eX 5&U .. ICG 169C' 2"'&e1 .23.5678'&

9 811 71 'C 5& ,. 3.9 2t.8 .23tS

• • • 9U 'U • HO' SGO. a lIILS 7BIoS a. 6CIOO 6(:%00 ., 5&rn S&PIP a 'SCGI[O UCGm e 169Cr%t.o 16!JC1'no • 2t681CZGl:K 2"8&CZG%1[ a. ·23056719&ICDI:' .23.56719&1C01P • a. 9I tI .. &Go 8GO a. 11L 111. a 6CI Ie% e 5&n 5&PI • tSCII UCII e. J69CP J69C' • Zt6.U:I 2e6.U:. • • 23'56119& aUOSi7ll' • • 9 9 141 '8 .. 7. 11 .. 6C 6C e 5& 51 .. t' tI • 169 J69 • 2'" Zt6. • ·2l.S ·23t5 •

UII on

30 29 2B 27 26 25 2' 23 22 21 20 19 ta 17 16 I~ ,. 13 I:: 11 to 9 8 7 6 5

" 1 2 t

O~O • • 010 .............................................................................................................. 0 000000000011111111112222222222)J1)ll1311 ............ 55~55555556 •• 666666,7177777777.1.88.88889999999999 0 0121IlS.,890121.S6789012J.S67890123~S.789012l .. 5.7890121.5".90123.5.7190'2lt567890123 .. 5.789012J'56789·

• I . I • EltitES • 1000 ----1:----1----• SAftl. AttO. Af. II t 53.. I • SeAL! •••• 2.J ••••• 1.1. -------t t-------• STEP • I • 11."0'-0 t I

E.U.,pU ~O ,. 1 ---------!UIIPI.Il or A rABLIl

BBOOi{ IO " 30 DA~. 2.JtJt.84 10 - 3

CKUIIIlI.S 10 (J 0 1 0 1 1 I 1 2 3 , 5 6 1 8 9 0 2 .3 , 5 , 8 .................................................................................................

~ lBl • • lB. orll • • 0'.

30 • 31 32 J3 3t 35 36 J1 38 39 "0 III 42 "3 " 115 2'0 • 30 29 • 30 31 32 II 3' 35 36 31 38 J9 ''0 t1 '2 U U 235 • 29 29 • 29 30 31 32 33 31t 35 36 37 38 39 '0 " '2 U 2JO .. 28 27 • 28 29 30 )1 32 33 3t 35 36 31 J8 39 '0 lit t2 225 • 21 26 • 21 28 29 30 31 32 33 ]II 35 J6 31 J8 3' '0 t1 220 • 26 25 • 26 27 28 29 JO' Jl 32 J1 ]II J5 J6 J1 38 39 '0 215 • 25 216 • 25 26 27 28 29 30 11 32 31 3' J5 36 11 J8 3' 210 2' 23 • 211 25 26 27 28 29 30 31 32 13 l' 35 36 31 38 205 21 22 • 23 2' 25 26 21 28 29 30 3. 32 33 3. 35 36 37 200 ·22 Jl • 22 23 2" 25 26 27 28 29 30 31 32 31 ]II 15 36 195 21 20 • 21 22 23 211 25 26 21 28 29 30 ]I 32 33 31t ]5 190 20 19 • 20 21 22 23 2. 25 26 27 28 29 ]0 31 12 3] 3. 185 19 18 • 19 20 21 22 23 2" 25 26 21 28 29 30 31 ]2 31 180 18 17 • 18 19 20 21 22 23 2t 25 26 27 28 29 30 3. 12 175 17 16 • 17 18 19 20 2. 22 23 2' 25 26 21 28 2' 30 31 170 16 15 • 16 11 18 19 20 21 22 23 2' 25 26 21 28 29 30 165 15 U • 15 16 17 18 19 20 21 22 23 2' 25 26 21 28 29 160 ,. 1] • ,. 15 16 17 18 19 20 21 22 23 2' 25 26 27 28 155 13 12 • 13 14 15 16 17 18 " 20 21 22 23 2. 25 26 27 150 12 11 • 12 13 ," 15 16 17 18 19 20 21 22 23 2' 25 26 145 11 10 • 11 12 13 I' 15 16 17 18 " 20 21 22 21 2" 25 no 10

9 • 10 11 12 Il It 15 16 17 18 ~19 20 21 2l 23 2' 135 9 8 • 9 10 11 12 13 ,. 15 16 17 18 19 20 21 2l 23 1]0 II 7 • 8 9 10 11 12 13 til 15 16 17 18 19 20 21 22 125 1 6 • 7 8 9 10 11 Il 1l til 15 16 11 18 19 20 21 120 6 5 • 6 7 8 9 10 11 1l 11 It 15 16 17 18 19 20 115 5

" • 5 6 1 8 9 10 It 12 13 ,. 15 16 11 18 19 110 " 3 • II 5 6 7· 8 9 10 It 12 13 III 15 16 11 18 105 3 2 • 3 , 5 6 7 8 9 10 11 12 1l ,. 15 16 17 100 2 1 • 2 3 , 5 6 7 8 , 10 11 12 13 III 15 16 95 1

DID • OlD ................................................................................................. LOIl-IlOCI 10 • I 1 1 1 1

1. 2 3 , 5 6 7 8 , 0 1 l 3 , 5

• I I • urllES • 600 Pt.O'f I I • SATtJlnIOI l'f- 1021 I 105751 5025 • S~lnsnc:s I I • 1 I

TEST OF !Ie 110111

aBOOK 10 •

10 9.7S 9.5 9.25 9 8.7S 8.5 8.25 8 7.75 7.5 7.25 7 6.75 6.5 6.25 6 5.7S 5.5 5.25 5 1I.7S· 11.5 11.25 II 3.7S 3.5 3.25 3 2.7'5 2.5 2...25 2 1.75 1.5 1.25 1 • 7'5 • 5 • 25

10

••••••••••• o

• .-

• • • • ••

• ••• • •

• •

• •

• •

• •

• •

• •

• • • • •

• • •

lUTE

•• • ••••••

• •

2JOL811

• • • • • •

•••••••• •• •• • • • •

10" II

• • • • • • • • • • • • •• • ••• • •• • CHAIIHELS 100

10 1

o 1 2 1 II 5 6 7 8 9 0 12311567890123115678901231156789012311567890123115678901231156789012311567890123115678901231156789012311567890

COH'l'EITS .,0.. 1

LOW-EDG! ·,0·· I

1. 11223.31156788999999887654432211.11111111122223Jl3""""""'''11]3332222111111 o 0000000001231168150529765318379981181.579111839611333311679111691116813567899998765318611196111975310876511322 o 000012J5830~3267539I1aa]01l339899027929611799999850067187926161591106996'969960119505050711223606322369' o 12117315797bIl911070472511088215162036119039012.J33618!23j832.301151371012155121017201199659'2635211211226173 o '557197111353117711117225785030673710911135831727171157650550628111701955871771785589697011551856311119095996

1. 11111111112222222222333333333311411'1111111111115555555555666$666666717777777788888888889999999999 o 012JII56789012]1I56789012JII567890123115678901231156789012311561890'231156789012311561890123115678901231156789

• E~TIZ£S 100 • lLL CH1.IIELS • 0.32,9!.02 • OIOEIPLOI - 0.0000£+00 • Of£l PLOI -0.0000&.00 • BIll WI~ a 0.1000E-Ol • REll 'ALUE • 0.'8]OE+00 • I • S • S - 0.2198£.00 • 18101 CH1- O.OOOO!.OO

~STC~I,a IS 'I~~~D WIlS STru.'

/IICCI ID •

170 16S 160 ISS ISO 116S 1110 115 110 12S 110 liS 110 lOS 100 .5 .0 IS 10 75 70 6S 60 55 SO

"' 110)

U 10 25 20 15 10 5

CIUIIU 100 10 1

CO_TilTS 100 10 1.

LOI-rOGI I. ·'0 •• I 0

o

110

I I 1- I

-U-l I

-I: I ,

I: I I I:

1 -I-I

-I I I

-I -I

I 1 I-

I I 1 -1-1

01'!1 Un.a. 10. 5

I I 1

I-

"-I I 1 I I:

-I: 1

-I: I

-I I

- -I I-I

-I -I:

--I

I - I I -U I 11 I I I: 1 I-I I - -1 I-I I I 1- I 1 1- I I-

I I - I-I I-I 1 1 1- I: I-I 1- I

I I-I I I I 1 -1 I-I 1- I I 1- - I I-I I I-I -I 1- I

I - I I-I 1- - -1 I I-I-I- -1%-1 I

I-I 1-1-1% -

I-I­I-

o I Z 1 II 5 6 7 • , 0 121'567.901Z311567.901211156719012311567.9012311567.'011311567'90'13'567190123"67190'13'567190'13'567.'0

'1111111111 1 111Z1,5.7901"665611190965111'1211112211211111656557.7.1.7966.716655116]15311111" 1

21 2551157]1623111107656".037376.5567"2029J.&211'38766711106153166'11'76'1910166JIO'088568'1.77'1

,,, 111'11121111Z112111J31311111'1'1'1'"155555'5555666666 6666777777777711181.8181999"99'" 0'ZlIl5.7.90111Il'671'012111567.90123"61.90'Z311561.90'Z311'61'90'21115611'012311561190121115671'012311561"

• rJTI'.S 5000 •• ~ cs ••• ~ • 0.5000 •• 011 • Ill. 'lLGI • 0.,.78 •• 00

• OIO •• PLOt • 0.00001.00 • OlllPLOt • 0.00001.00 •••• 01 csa- 0.00001.00 • III lID • 0.1000.-01 • I • • • S • 0.2'961.00

TE51' 01' Ha80l!2

saaol 10 - 20 OUI 2JO~.' 10. 6

CHAINELS 100 U a 1 0 &

&8. a'E

Clla

• <)75 .95 .925 .9 .875 .85 .825 .a .715 .75 .725 .7 ."5 .65 .625 .6 .575 .55 .525 .5 • ~,75 • ~5 • ~25 ., .375 .J5 .J25 • J .l75 .25 .22S .2 .175 .15 .125 .1 .075 .05 .025

10 • a 1 2 1 • 5 6 7 1 9 0 Y 1 1 a IlJ'567810121'567890123,567890123.567890123.567890123'567890123.567890123'5678'0123.567890123.567890 I t ................. ~ ............................................................................... ~ ......... .. • • &8t • ··O'E • ••••• ___ •• __ •• ____ •••••• _._ •• ___ ._._. ______ .. _ •••••• _ •••••••••••••••••••••••••• _ ••••• _.... •. '0 • ••••••••• ___ 0 •• ___ ••••••••••••••• _ •••••• __ • ____ ••••••• ____ ••• e ....... _ •............ ___ .e.... • l' • .••••••••••••••••••••••••••••••• __ • ___ •••• ____ •••• __ •••• ___ ._ •••••••• ___ ••••••• __ ••••••••••• ·]8 • •••••• __ •• __ •••••• Z22ll2212l ••••••• __ •••••••• __ •• _........................................... • 37 • _____ G ••• ___ •••• Z22JllllJJlJl2Z2 ••••• __ ........................................................ • l6 • •••••••••••••••• 22ll.~ ••• 4 •• 4ll2ll •••••••••••••••••••••• 2222222222222222...................... .]5 e •••••••••••••• 221J'.55666.6.55 •• l322 ................. 222222231331111112222222.................. •. l' • ............... 2231.55.77781777655.3122 •••••••••••••• 2222231133111 •• 1133111322222................ 11 • •••••••••••••• 211.5677889999987765 •• 122 ••••••••••• 222211133 ••• ' •••••••••• 311112222.............. 12 • ••••••••••••• 221.56788'&&&A&&988765.3322 ••••••••• 22223111 •••• 5555555555 •••• ]1112222.............. 11 e, ••••••••••••• 211.5.,89& •• 18 •• &98765 •• J222 ••••••• 2222133 •••• 55555555555555&".1332222............ ]0 • ••••• ~ ••• _ ••• 23 •• 5189&&BCCCCII&98765.J222 •••••• 22221113 ••• 5555566666.55555 ••• 1132222............ 29 • •••••••• a •••• 21 •• 5789&ABCCCCIIA98765.3222 •••••• 22221331 ... 5555566666655555.e.1112222............ 28 • ••••••••••••• 233.56789 •••• 118&'8765 •• 1222 •• 0 •••• 2222131 •••• 55555555555555 •••• 1112222............ 27 • ••••••••••••• 223.567889&&&&&&988765.1122 ........... 22221J13 •• &.5555555555.ca •• 11112222 ••••••• ~...... 25 • •••••••••••••• 231.567789'99"87765 •• 122 ••••••••••• 222233l33 ••••••••• ' ••• &11llJ2222.............. 25 • •••••••••••••• 2233'55677788777655.1122 •••••••••••••• 2222233111113 •• 1331311322222................ 2' • •••••••••••••• 2l31 •• 55.66 ••• 55 •• 1322 ••••••••••••••••• z222221.11311311132222222.................... 21 • ••••••••••••••• 22211 •••• 55 •••• J3222 •••••••••••••••••••... Z2ll22Z2222~2222...................... 22 • · ••••• ~ •• e ••••••• 222llllllllll~~ •••••• _ ••••••• _..................................................... .' 2.1 • .•.••.••..••.•••• Z222333J3l2222............................................................... • 20 • ..•••.••...•••••• Z22Jlllllll21Z ••••.•••••••• a •• ___ •••••••••••••••••••••••••••••• 9.............. • 19 ." •.•• .............. 22llJ" ••••••• lllZZ ••••• _ .................... Z2222222222222 ••••••••• _._..... ........ .' 18 • •••••••••••••• 233 •• 5667717776655.3122 •••••••••••••• 22222231333333133J3313222222 •••••••••••••• _. 17 • •••••• _oo_ ••• 233~5678'&8.1.8.&'.765 •• 1222 ••••••• 2222111 •••• 55555555555555 •••• 33]2222............ . 16 • ••• OQ •••••••• 23.5.898CDrrCla~GrDCa9875 •• ~22222222111 ••• 5566777788.8888877776655 ••• J1222........... ., 15 • •••••••••••• 23.578ACZCI~K~Lt4'~ICECA9765.1J2222331 •• 55667788'91&&&&&&&&&9918776655.'33222........ • , • • •••••••••••• 2215689IDGI'L.0000t~IJ~IC&.75.'1131133 •• 55677899&&118CCCCCCI18&&"877.55 •• 33222....... • 13 • ............ 2235689IOCIl~IOOOOILIl~IC&875 •• 1113311 •• 556778"UIIIlClXCCCIIIU99177655 .. )J222....... •. 12 • •••••••••••• 23.578&Clr.~r~l~acA97.5.1122221J3 •• 556.7788"&&&&&&&&&&9'88776655 •• 13222........ • 11 • ••••••••••••• 23.5 •• 9&C~lrcGC~'IDCa'875 •• 322222~22213& •• 55 ••• 777888888.877766655' •• 13222.......... • 10, • •••••••.•••••• Z21.5.789&&8.81&&'8765&3322 •••••••• 22223131 •••• 555555555555 •••• 1313222 ...... ~...... • 9 • •••••••••••••• 2213.556666666655.J122 •••••••••••••••• 2222221lJ1111113111222222.................. • 8 • •••••••••••••••• 2222J33 ]]]]l Z222 •••••••••••••••••• _ •••••••••••••••••••••••••••••• 0... ........... • 7 • .............................................................. ~............................. • 6 • •••••••••••••••• e ......................................................... q............... • 5 · .•........................ _.......................................................... ., • ................................................. 00....................... • 1 • .•.•.....• _...... . •..• cc... • 2 • • 1 • • DaD .............................................................................................................. o 00000DOOOOI111111111222222222211J1313113 •••••••••• 555555555566.666.66677771777778888818888"99999999 o 0121,5678'0121.5.7890123'5678'0121.5.7890121.5.7890123'5'7890123'5.78'0123'5678'0123&5678'0121'56789

I I • £I1'l1IS • .000 ,~

S'UTXSTICS

----I r:----.' Ul'UIAl'10' AT- I.rxUn I: U2.1271: • ~C1L! •••• 2.) ••••• A.a. ----I r:----• StEP - .Y'. 8IJISUft-O , I:

RBOOK ID • 210 DUI: 10. 7

ca,uU1.S 100 II 0 1 0 &

UI Of!

• 97'S .95 .925 • 9 .875 .15 .825 .8 .17~ .75 • 7:ZS .7 .675 .65 • 625 .6 • 575 .55 .525 .5 .475 •• 5 .1125 .11 .3n .35 .125 .1 • 27S • 25 • 225 • 2 .175 .15 .U5 .1 • 075 • 05 .025

aiD

LOI-cora

10 • 0 1 2 3 • 5. 6 7 I 9 0 , I 1 D 121~5'78'0121'S'78'0121'S'7890123'S671'012)'567890121'567190121_567190123'5678.0121.5678.0123'5678.0 I I ............................................................................................................. • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • .. • • • • • • • • • • •

... .. • • • ••• • •• •• • •• Z •• • · ... .". .. . .. .. 2. 2 • 2 ••• 2. ••• •• • .•

•••••••• 2 • • 2 •• 2 • .2 • ••• •••• •• • • • •• '2 • •• 222'2.2 2 232322' •• • 2 • 2 • • •• '2 • • •••

•• 2 223 3 •• 5.. 2 2 •••••• •• 'Z •• 22.223.2' 2 • • • •• 2.'3.) .222 3.Z. ••• 2' .23 3' •••••• 2. 2 •••••• Z • • • ••.••• 2 •• Z3'62 •• 533 •• • 2 ."2'.' 2'1 •• 'Z.2' Z Z.. • ••

• •• 3122.)'233.'. 222 ••• 2- 22 • 3 •••• '.Z •• 2 •• 3. • •••• .Z Z • 2 • .2.3]Z Z-Z253.. 22-Z' 3.. •• 2 ........ 5.3 .223 •• 13. 2 Z

• 3 .3.1.1.3 323 •• 233.Z.3 .2. • • • 2 'l2'. 22. ,. • Z • 2- Z. 2 2 ••• 2.l3.'l22,.. .) •• Z2 ••• •• ..] 2.Z 3 •••• Z • 2' ••

• '2 ••••• 6 .Z • 222.. 23 ••• 2 2 .2. .l... 2 2'.. • • • .)3 2 .52' •• ) Z Z.. • •• Z.... • • •••

• • ••• 2. 22.... • • • • 2".l ••• •• • 2. Z' • 2 2. •• •• .. • •• •• 2 • •

2 •• 2 •• 2.. ••• • 2' • •• 2.2l. .22. •• •• •• • • •

2 •• 22 • • •• •••• • •. 2 •••• 3 •• l3 •• •• • • ••• 2' •• •

• • 22. 2.22 22 2 • •• 2..2. l •••• 22 ••• • •• • Z.2 ••• 2. 55Z1 ••••• •• ..2. 2'1 .Z3 '2 222.3.... •••• •

•• •• 2 .'J]'8272312.23'2 2.3 •• .1.. Z3223'.2'.' .Z. '.22 '.2. • •• • .J.2'16.3,l72.328252,2 • 2.... .l. 1 22 .33 '.6'2Z2~ •• 2 •••• Z.' 2. 2' •

• 2'.2l 237'25573172"223.' 2' .Z ••• 2' •• 2 ••• 3'334)2.53 2221 •• ' 2.. • • 2 •• 334.9231&7566.'5.32.' •••• 2. 2 3423423'3"'22222 1 2]13' 2.... • • • • 22 •• 23.354763325222.3.21 •• 2. • ••• 1 2323'2'2234]'22')5222 .2] •••

•••• 2 4'23453'2'3233'222.' '] .2 .2'.).·2.2 .422.] 22 • .22' ••• ) ••• ~ •• 2.1 2 ••••• •••• • .22.... 2.2 .22.. ••

2 • • 3 .2 •• ).. 2 2.. .....2 2. • • •• • • •• ]' ••• 2". 3 ••••• 2 • •

• • •• • • • • • • •

• .............................................................................................................. o oo~aoaOOOOI11111111122222222223llll33]ll ••• ' •••••• 5555555555".66.6'6671117111111111811181 ••• 99.999. a ~12J.S.789~121'5.7190121'56719012l.5671901214567190113'5.719012],'671'Ol13.5.7190121'56119012J.56789

I I • IITt'!S • 2000 -------1-------1--__ ---• SUlltATlOI AT- 31 1 2000 1 • SCALe •••• 2.) ••••• &.1. • STEP. • 1 •. U!lIlIlIltWO

------t t:-----t t

.181 on

lie 19 lE 37 ]6 l!l 3" II 32 31 10 2'1 2e 27 2E 2S 211 23 2:< 21 2C 19 18 17 16 I!: ,. I~

12 It Ie

5 e 7 6 !:

• J 2 1

IJIt

nAII.l.e JO·. J

•••••••••••••••••••••••••••••••••••••••••••• _ ••••••••• • ! •• ~_e .... _ .. _ ... __ ... _e_ ................ _.o_._ ...... _~._ ..... _~ ..... G

.. 1001 OCI .USICS r.u ,.SSIOI l.11 IES!OCI1S liD 'LO~ liD ••

••••• ••• _ •••••••• ___ .... _ ••• __ ._ •••• • " •.•• ___ ••• _._. _._ •• _. ____ • _________ • ____ • __ ._ •••• _____ • ______ .......... _._ ••••• __ • ____ ••• "" e

10 ID SIC I'~IIS DIS ICD 1.01 •• aODIISS I.Dcor! •

••••••••• 0. __ •••••••••••••• ___ •••• ____ ••• __ •••••••••••• ___ • ___ ........ _ ••• _ ••••••••••••••••••• ___ •••••••••••• ___ •••••••••••••

T&.n' 0' 1110111 100 "U -1 • 100 0.000 •• 00 0.100'.01 35 119 •

Z TeST 0' aliOll 1 10 lZ 100 1 I: 100 0.000 •• 00 0.100 •• 01 '" 11; e

J ~1~TOGIla IS '1I.LID _Ira 11"011 110 10 5000 1 I: 100 0.000 •• 00 O.looa.Ol Z7l 55 •

" rUT 0' 111012 ZOO 3Z -I 2 I: 100 0.1100..00 0.100&.01 lZI "So. r 40 0.000 •• 00 0.100'.01 3., 4U4.

S rUT o' 11110112 20 l2 4000 2 I: 100 0.000 •• 00 0.100"01 .ria usa o·

r to 0.11001.00 0.100 • .0 1 n., tU4.

6 UST. 'ULeD IIt1! I'UL &10 1II10llZ 210 5 2000 2 I 100 0;'1100 •• 00 0.1001.01 922. 76 •• r 4' 0.1100..00 O. 1110a.0 1 924' 74 ••

•••••••••• ' •••••• ~ ••••••• o._ •• - •••••••• -.-••••••• _.- •• e •• ____ •••• _.~ ____ --~ •• - •••••• - •••••••••••••••••••••••••• __ •••••••••••••

SEIOI' D7ILIS1%%01

SllISUft TOTaL SIla D. 11.11. CO~RO' aUI &lU II lUI. COIROI

10000 o

U~.!lLI: .e. • )

IISTOCI.I IS rILLIO IITd ITrOl1

11001 10 •

,. 72 70 68

•• •• n .0 51 56 ,. '2 '0 'I ,. ,. 'l '0 JI l' J. 12 JO U 26 2' 22 20 18

" Ie 12 10 I

• , 2

ClIlIliLS 100 10

I

COITUTS 10 I.

Loa-ElICI I. .10·· I °

°

110

I I--I I I I I I I I 1 I I I

1- I I I %1 I-I I a I I-I a-I I I I

-I I I I I I-I I I I % I I I

II-I I-

DUI loJor.a.

I ~ I I I I 1% I I I I 1- a-I I U 1 1- -I U I I-I II

10 •

-I 1- 1% -11-1 I-a - --I I a-I I-I I I -

-I I - I I I I I I I 111 I I I

-I I -1-1 1 I-I I -I 1- -I I-I 1- I I 1- I I-I I I I I 1-

-I 1- -I 1- 1-1-- 1 I I I 1 I-n-I 1-1 I-I 1-

- -I 1-1-

° I 2 J 8 5 • 7 • t 0 12l'5'71'012l8"7ItOI218"'ltOI218"71~01218"'ltOI2l8'I,I'0123.'I,ltOI23"I,.,0123'5.71'012385.,190

11222ll3U"5751'U13122211 11111212123223223322J22232132222112112 I I 111 12'I1I1.0215 ••• 7972257181"2$J1.1719JI.1335.0'13'01.113111711,'0.001.335 .. 3218.2101'1131

11111111112222222222Jllllll313 •••••••••• 5'5'5"5"I ••• 1'6 ••• 77717711711.1 •• 8 •••• 99t'9'9999 Ol2J'5.7.toI21.5.7.9012J.'.7.90121.'67Itol2J"67.'Ol21"67.90123.567ItOI2J.'.,.9012]1561890123.'67 ••

• UTillS • 2000 • lLL CI1IIELS • 0.20001.0' • IIDlirtol • 0.00001.00 • OY!lrLOI • 0.00001.00 • III lID • 0.10001·01 • 11111 nUll • 0.'9"1.00 • I • II • S • 0.2206.000 • 1110' C11- 0.00001.00 • Sill_ISS. O.J290lo00 • IOITOSts --0.126.'.01 • I IQII'lL • 0.20001.0.

£X.II"r.~ ~O • J

KIST PIr.r.~O WIT~ KPII.1. AID BIID!~

1180011 IO • ~1:) 10

CBA"~r.s 100 a 0 I 0 1 10 ~ 0 I 2 ) , 5 , 1 I 9 0 ~ I

1 D 12J'56719012l'5671901~J'5'1190123'5"19012l'56'd90123'567190123.5.7190123'567190123,567190123.567890 I I .............................................................................................................. asl • • 181 au

.915

.95

.9~5

OlD

., • 1115 .85 .82S .8 .775 .75 .725 .7 • 675 .65 .6~5

•• • 575 •. 55 .525 • 5 • ~75 • 1l5 .1&25 .11 • l75 • 15 .J25 .1 • 275 • 25 • 225 .~ .175 .15 • 125 • I .075 .05 .025

• .. • • • • • • • • • • • • • • • • • • • • • • .. • • • • • • • • • • • • .. .. .. •

• •

• • •

• •

• • • .. •• • • • 2 • .2 2 2 •

2 • • ..

••• • •

.·2 ... • • • • •• 2. 2 ••• •• • • • • .2 •••• ~2. • •• 2 ••• • 2 Z.Z .5. • •• • • .,~ ••••• 22. ~ ••••

~.. .Z~ 2'2222 •• ~. • 2 .~' •• Z.5'22 0)22

02 •• '~'~~l o~ •••••• Z. 2.'3~J.)~'5 ~. .~, ~. • •

23 .12 '."1')~~ •••• •••••• 25.)~3.22. 2 2 •• Z

• • ••• • '. 2. ••• •••• • Z • 2 2 .2.2 2 ••• 1 1

•• • • • ) 2" _ •••• ••• u. ••

••• Z •••• .2 2 ' •• 3'. · _...... .2.... .Zl.. 2.. 2.. • 2 2 •• 2 2 23. ••

• • 2 2

2

Z Z. .13 •••• 22 •• 2 3 ••• z •••• ~2 1.2 •• 22 2. •• • 22 2]. 2 ,.. 2 •

.' • )

2 • • •

• 2.2 •• 2.2. 2. 2223."2 •• 2 • •• ' ) 2. 22.. •• •• • •••• • z.] • • 22 .2 • 21 ••

• 2 •••• 2 2 •••• 2. ••• • Z ••• 2' • 2. .2, Z • •• • •••• ••• 2 •• 2....... Z.. ., ~.. •• 2 2. ...2

• •

• • ••••• •• - 3 •• • • •

• • • 2 •• •• • •

••• •••• • ·22·· • 22 2.2.2,.. •••• ••• 2 2.. 2' 2.. •

•••• • 2 3.. 252 ••• .~ ••••• •• .2 22 2 •• .Z • l... .2 •• 5.'.Z...... • ~. 2.. 22. •• .2 •• 2 .2

• • ••

• ~ .

• • •

Z2 •

• ••

•••

• • 3 •• U .'.2 ••• U5232 .2.22.. • ••• 2 .Z.1 ••••• ~1122'.Z322.~.. 2, ••••

• l2 ••• 353231 •• 5.3552 •••• 55 •• •• 2.1 1 2341.'2'2.]).Z2.223 2 3 2 • •• • ••

·Z ••

• • •

• • •• •

• • • • ••• Z .'2l. 2.255315l.3 2.,.. • •••• 'Z.Z ••••• 3233.233 ••• 3 .Z •• '

•• 2l3.5'.23.555"1"~22' •• 22 •• Z ••• 3 ~'Z ••• 3Z.1 •• 1'Z.Z.2 ••• J~ •• ••• ].).2 •••• 1]77 •• ' •• 222... •• 2 •• ]~'2. 21 22 ••• ].) .~.1.1 .2 • ••• ·2

• •• • .2.]~,~.ll.5322~11'~l •• 23~" •••• Z".1 Z Z2 Z 5 ••• U"~~ ••• 2 • 2 2 •••• )~22 .11.22. • ••• ~ .3 2. • 223. 2.Z21'.23 •••• • • .2. 1 •• 1 2.2. Z~ •• Z ••• 1 Z •• • • 2 ••• ~ • 2

.Z ••• 1.. • • 2 • •• •• ..2 •• ••• • ·2 •

2 . '. • •

• on: • .0 • 3' • 31 • 37 • 36 • )5 .0 14 ., 31 .. 32 .. 31 .0 30 · ~, .. ~a

.. ~7

• 2. • 25 · ~, .. 21

• 22 • ~1 20

19

• '1 • 17 .. " • 15 .' ,. .' 13 • 12 • 11 • 10 .0 9

• II • 1 • • • 5 ., , .0 3 ., ~

• 1 .. IlID .............................................................................................................. 1.01-EOGI o 0000UOOOOO"1111"112~~2~22~221111111]1]'.".' •••• 55555555556 •• " .. ' •• 1717717717aI881111Ia""'9""

o 012]'5'71'0123'5.71'01~1'5.711'0IZ3'5.78'01~3'5"1'01Z1'5.78'0123'5.78'0121'5.,8'0123'5'71'01~1'5.78'

.. I t • eITI'!! • 2000 .LOt' ----t I:------• SATOI&TIOI &ra 11 I ZOOO I • SClLI •••• 2.J ••••• A.a. -------1--------t-----• STE. • 1 • axltBOft-O t I

!UIIPL! NO • J

aIST rILL!D VITI BrILL AID BRIDI2

B800K 10 •

80 1i 72 68 64 60 56 52 liB U 40 36 32 28 2' 20 16 12 8

• CHUULS 100

10 1

COITEITS 10 1.

J-!DGI 1. ·,0·· I 0

210 'Ro.JZCTIO. Z D&~II 2,JOLn 10- 1

I I 0

III UI

I UIO OIl U IIII III

IIOUOOI 100 I IOU:UI II I 01: 0 I UtI I OJ: I

I III I 001 I II I U II UII UOUI I OOIlI 0 00 I 010 IIIOOO 0 UIOIOIII I UI.I 1111 IIII I I IO 101001 II 10 I

U I I III I II nOI n no 0 01 1101 I 00 001 I II 001 0011 I I I UIIOIO I I OUI UO OIIOUUO U OOIl I 0 0

U 10 I UIOOIODI 0 I IX U U I I I OOOt I ulon I o 00 00101 01 0

0 0 01 10 0 IX lID 001001

o 1 o 1 2 3 • 5 6 7 8 9 0 12J.567890123.567890123'56789012J.567890123'56789012]'56789012]'56789012]'5678'012]456789012]'567890

1111]234'5455557555]]]232211 11111112131122332232224]2]]22111121 1 1 I 1576].,89272262'2028090177'9,909].89799522.90705098]5.698266"5236.76698,88555365]7.,6.,6

11111111112222222222]]3]33]3]] •••• ' ••••• 5555555555666666666617777777778888888888'999999999 012].56789012].567890123.56789012]'567890123.567890123'567890123.567890123.567890'23.567890123.56789

• !ITIISS • 2000 • lLL CllllSts • 0.20001.0. • IIIDllrLOR • 0.00001.00 • O'SlrLOR - 0.00001.00 • It I lID • 0.10001-~1 • 81l. 'lLOI • 0 •• 8731.00 • I • 8 • S - 0.22071.00 • lllOI CB&- 0.00001.00

lXAl!PLE NO a J

BISt PILLID iItS KPILL liD a.'D!2

1I8COK

BAND r

811 80 76 72 68 611 60 56· 52 118

'" 110 36 32 28 216 20 16 12

8

" CIIUUU

connfS

ID •

10 •

210

I­I X

-I I -I I I X I I I I I I-

aUD r

I I -.I [X Xl

-[ [- U --[ I -U-X I X -I I-I 1- -I X-l I [ I-I [- -I X-

-I I - -I I-I III X-I ~~[ X

--I [-

10 0 1 2 ] " 1 IlJII567890121"567890121"567890121'S67890

10 1l167877Q)21 1 1223311153132211 1 1. 1146575117999797375071267158062839211

1. 1111222233331111111155556666777788889999 o 02570257025702570257~2570257025702S70257 o 0505050505050505050505050505050505050505,

• !!Ifll ES • 1096· • I~ call1lU • 0.1096E.0' •. SEll '"4DE • 0.4809 •• 00 • all WID. 0.25001-01

10. 4

• OIlDE.PLOI - 0.00001.00 • O~IIFLO' - 0.00001.00 • I • a • S • 0.22"'1.00 • 18101 cal- 0.00001.00

EUIIPL! - M,) • 1

lIST rItLzD i1TH HrILL liD RIID82

IIOOK

SLICE I

15 lit II 32 31 30 2' 28 27 26 25 2' 2l U 21 20 19 18 17 16 15 n 13 12 11 IU ,

8 1 6 5

• ]

2 I

CIIUUU

canER"

LOW-EDGI ·,0·· 1

10 • 210 SUCI I Dlora 230L8. 10· 5

MO • tIll. -0.25001-01 JIll- 0.]]]]1.00

100 10

I

10 1.

I. 0

, I 1 , 1 , 0 I 1 I 1

IU 1 I I IUIt I I IlIII I I 1 no I

I I III UIU I 1 I UO OIln 0

I 1 1 011 IOIU I I II IX 111 IIUI I 1 1 I II II III U 11 1 1 I 1 OU01IIOI U 00 1 II I 0 11111111 I II I- I I 1 I I I IOUOI I II 0 II IX '-I 0 1 I IUIII I II II 11 II 1 I I II 1 tlOlIO 1 11 II II U o 1 I II

U II II I 11 I IU 01 01 I a 1111 1 II , I I I I I In 10 IOIU I 110 I I III I 1 II au I I 1U IUUI1:ItI II 1011 II ,

, 10 1 01 1101 11 01001 IIIIIIU.I II OUUOIII 1 01 I II UII II II UIIO 1 III 100 I lIXI.IU.IO I II 0 10 tou II 10 nIU ° 00 II o II OUOIl

I anI U uo I IX OIlIOIII I II II I I IOUOI I 11 I 1 1111 U 00111:1 I II II I UII I n I a u: I1IlOUIl.II 0 1 I 1 I II II II I I I 0 OOUOIIlO I 0 10 II 00 I a

I I: I I I 110110 I 1 I IOutoo Xl: OIU 0 11 0 I I ox OOtI roo

o o I 2 ] II 5 6 1 1 , ° 123.567890121115678901231156789012]115678'012311567890123115678'012311567890123115'78'0123115678'012311567890

I """21222221' " II II 12' I 11 II 1638967753753071910]779750796]321132553671196"83721772188]1275.017697681231122 33 2113

11111111112222222222]]3]]]]]]311.11.11.111111'5555555555666666666677777777778888888188999999.999 012311567890123'56789012]'56789012].567890123.5'7890123.5671901231156789012311567890123115678901231156789

• EJTIItS • 1]11 • ltL CR1IIILS • 0.731101.0] • OIDEapLOI • 0.0000'.00 • O'EirLOI • 0.00001.00 • 811 V:D • 0.10001·01 • ISll 'lLOI - 0.'8]11.00 • a ••• S • 0.21911.00 • lBloa C1I1- 0.0000'.00

EXA.'PLi: ~O = J --------IIIST 'ILLEO WITH HPILL AID HUOll2

11100)11 10 ~ 210 SnCJI I OAT! 2.1Ut8ll 10 • 6

S1.ICE It .0 a 2 filIi- 0.3333E·00 flllZ- 0-6667 •• 00

32 31 JO 29 28 27 26 25 2/1 23 22 21 20 19 18 -17 16 15 I .. Il 12 11 10 'I 8 ., 6 5 .. 1 2 I

ca.lIl1ILS 100 10

1

CONTENTS 10 1.

LOll-lOGE 1. .,0·· 1 0

I I I I I I 0 I 1 ,I I I I 1 I II I I I II I I I I 1111 I I I 0 IIII 0 I

I lOll I 1 II 10UI I III I 1 I

III llUO I III I I I UU I nOt I I III I 10 I IlIl IUllI I I I I I II II I I 1001 I II IIIIIUI 0 o 0101 U 0 1 OUI I I IIIIIIU I I I IUII II I 1 UIO I I 1 IIOIII 1 I I'IUn 01 x I

U IIII I 0 OIIIOI III I IIIOI I tIl 0 I UIrI I 0 I 1010101 tI o U I I Ii I I I IIIII I I I IUIUX OU , 1011 U U I: I I I I, UOOI I I U IIII I: II 101 I III IX 00 I III I I OUOItO I I I 101 I UU III lUX I II to lIIOU I I I

. IIOUII II I lUI III IIIO 10 01 IUUI I 0 0 UIttIl U r II IOUIOOI III I II IXIIIO 0 I II

I I 01 0 II IOIOI00XlI0 0 I I I o 01 I I II I IXX I II 01 OIIlllIOIII I III I I 0 n I 010 I II ro ItOl xu X I I X X I 10 I

nOI OUIII I I I 10 IIOIIXOX I o I 10 0 0 01 01 0010 0

o o 1 2 3 • 5 6 7 8 9 0 '2JIIS6789~12J'56789012J"567a901231156789012]'567890123"567890123'567890123'567890123'567890123'567890

111121211211111111 I I 1211111 11 1 I 1)2] 8578998.55J611290782131218521.]1.535655'6655509751515207377859958562611127.1231121 1

111111111122222222223)33333)]311/1 ...... " •• 5555555555666666666671777777118888888888999'9999'9 1)123"510789012316567890123'56789012311567890123"56789012311567890123'56789012311567890123'567890123'56789

• nnns • 718 • 11.1. CR1.IEtS • 0.7180'.0] • OIDEI,tOI - O.OOOOE+OO • O'!I'tOI • 0.00001.00 • lIN VIO • O.IUOOI-Ol • 11111 '11.0' - 0.50191.00 • I • II • S • 0.22161.00 • lSIOI CI1- 0.00001.00

-,

~

EUo1PLE SO • J

lIST PILLED 11TS 9PILL "0 HIID!Z

nOOK

SLICE I

31 30 29 28 27 26 25 2" 23 22 21 20 19 18 17 16 15 III II 12 11 10

9 8 7 6 5

" 3 2 1

CUUUS

COITEITS

LOI-EDGI ·,0·· 1

10 a Z10 SLICE I 10,. 1

10. 3

100 10

1

10 1.

1. 0

o

I I 1

U I U I II I 101 I UIO OIl II

IIIIUI IlI0IlI

I II lUI I II II 0 I 0 10 I I I II I o I I I

IIII I III III o 0 I I

I II I I I II 111 I 01 001 OIlO'1I0 10 I I'

I I: I IX II 01 II III 101 III III II 10 II II I II u: IIX II

01· U II 101 IIIIIO IOIIII 1I0II 101 I IIX

U

I I I OUI II II

IIlII X 000 o III I III I

I I I I I I I X I '0 0- 0 I

I I I I I I III DIll III II IIlI 100 II

nooo OU 00 I o lU I II 0

I I

I U I II I 10

II I I III I lU I 0 101 I

II 11111 III l11XI I II llIIXOOIUIO IXOI IX II II I 111011101111 1111 10 II II I 0011011110011 01 UX II 100 I IIOIl IOU I I OIl oonlI 0 III I III 0 I I OIIIIOII II I II I

I I I I IIIIOI II 1 II I I 10 II 10 OIl DO 0

I 01 100 II I

o 1 2 3 • 5 6 1 8 9 0 1~3"S6789012311~67890123'S6189012311567890123'S618'012311567890123'567890123'567890123'567890123'5678'0

1 "2111122111 11 1 11 2132 33271738063911528308921118555 111222123312281665768815668.0680257.2553'66125 211 22 2

111111111122222222223333333333'.' ••••••• 5555555555666666666617777177778888888888999'999999 01231156789012311567890123115678901231156789012JII56789012311567890'231156789012311567890123115678'01231156789

• EITIIES • 5.8 • lLL C!"IILS • 0.51180!.03 • OIDEI,tQI • 0.00001.00 •. o,nn.ol • 0.00001.00 • 11101 cal- 0.00001.00 • 811 110 • D.l0UOE-OI • !Il~ 'lLD! • 0 •• ,381.00 • I • I • S • 0.22051.00

HIs%oai1S IS PILL!D II%H ~%PO"

HaOOI! Ii) •

170 165 160 155 150 ,.5 1160 135 1J0 125 120 115 110 105 100 95 90 85 ao 75 70 65 60 55 50 .s 160 35 )0 25 20 15 10 5

CBUULS 100 10

1

CO IT ZITS 100 10

1.

110 D1%1I 2JOLSII 10. 8

6 II I I ....

n: I UIU n:ln:

nnn IIUII II IIUII6I lIunu nuun

211nll1l2 IUllllnl Unuun

nunlnnl UlunUln61 111111111111111 2 11111'11111"" 22 I II 8 111111111111111 611 I I I

IlItllllllllllllll III I 121 11111111111111111 2 '11111 III 111111111111111112 II I 111111' 11168 2 111111111111111111 I 8 111111111211111 I 11111111111111111111 I I 2111111111111111' I

alltllllllllllllllll 121-llillllllllllllll I ·2 11111111111111111111 21111111111111111111111 I I

8111111111111111111118 , 1111111111111111111111161 I rllllllllllllllllllll181 611211111111111111111111111112 I

6111111111111111111111111 2 1111111111111111111111111111161 1IIIIIIIlIIlIlIIIllIIIIIIl 8 'I 1111111111111111111111111111111181

2 IIIUUUUUUUUUIUIIII,16 '211611111l1l1UIIUIUUUUlllllnlll 121111111111111111111111111111116611111111111111111111111111111111111111166 26

6111111111111111111111111111111111111111lXIlIIlIIllIlI1111111111111111111111111 6 '111111111111111111111111111111111111111111111111111111IIIIIIIIIIIIIIIIIIIIlIII1816"

112 '1lBlllllllllllllllllllllllllllllllllllilllllllllllllllIllllllllllllllllllllllllllllllllllBII

o 1 o I 2 1 , 5 , 7 a , 0 Il1115678901231656789012JII567B90123'56789012JII567890123'5~7B9012JII5'7890121'56789012J'567890121'567B90

11111111111 1 12123115B7901/656656331909651131132221 122232313'65'55767888 79668786655'633532311111 1

21 25511573 1623"07656' 1803737685567119202938821713876671110615336651817698970366110908856893877'2

EXA~PL! MO 2 ~

HISTOGIAft IS PI~L~O iITH RTPO!l

HBOOK ID •

100 96 92 d8 8/1 SO 76 72 68 611 60 56 52 ~8 u ~D

J6 32 28 2. 20 16 12

8

" -"'"TEItS 100

10 1.

110

UIUUUU51 UUIUUUIU7

DATI 2.JULSII

111111111111111 7 2 IIIIIIIIIXl1111 55 I 7 I 111111111111111 711 I I I

12111111111111111 III I I I 11111111111111111 211171 III 11111111111111111 7 111111 III 2

10 '" 9

111111111111111115 7 121111111 I1II1 5 111111111111111111 I I Illl11111211111 I 1111111111111111112 I I 1111111111111112 I

51111111111111111111 I I 11111111111111111 I 111I1IIII111I11I111I r715111111111111111115 I 7 1II1IIII11IIIII1IIII 51111111111111111111111 1 I

1I1II1IIIIIIII1111I11I 5 1111111111111111111111171 I 111111111111111111111171 52 1111111111111111111111111 I

2111111111111111111111111 1111111111111111111111111111121 11111111111111111111111115 2 7 1IIIIIIIIIIIIIIIIIIIIII1111111152S I111111111111111I11I111111 I 71 1111111111111111111111111111111111

2 511111111111111111111111111S17 521171111111111111111111111111111111111 I 111111111111111111111111111111S511111111111111111111111111111111111111155 5

2111111111111111111111111111111111111111111111111111111111111111111111111111711 2 111111111111111111111111111111111111111111111111111111111111111111111111111111121

22 27111111111111111111111111111111111111111111111111111111111111111111111111111111111177 52 5111111111111111111111111111111111111111111111111111111IIIIIIIIIIIIIIIIIl111111111111111111S

11111111111 1 1212311587901.5665633190965111/132221122232333/1656557678887966878665S11633532311111 1

21 255115131623 •• 076"/11803737685567119202938821713876671110615336651817698970366310908856893877112

eUIIl'Le HO s •

resr OP 'IBIOUS PBI.rIHG OPTIONS

alloo«

100 10 1.

10 s

1 6

)

2

1000

,. 8

6 It

II o

9 6

1 1 2

1 2 8

1 /I

" 1 6 o

1 1 7 9 6 . 2

2 o II

DU! 2JDL811

2 2

" 2

" o

2 5 6

2 7 2

2 II II

1 o II

3 2 o

110 2 10

1 3 6

LOIi !OG. I---I-I-I-I--.I-I-I--I--.I-I--I-I-I-I-I-I-l-l-l-l-l--1 2 3

• 5 6 7 8 9

10

a a

01 10[

01. [01 1-0-[

1-0-1

1-0-1 1-0--1

1-0-[ 10-1 10-1

10-1 [-0-1

1-0-1 1-0-1

1-0--1

1-0--1

1-0--1 1--0--1

1-0--1 1-0--1

1-0--1 1-0--1

1-0--1 I_I

1--0--1 1-0-1

1-0---1

1-0-1 I~o--I

1--0----1:

1-0---1.

I-o--I 1-0---1

11 12 13 1. 15 16 17 18 19 20 21 22 2J 2/1· 25 26 27 28 29 30 31 32 lJ 111 35 )6 17 38 )9 110

LOll !OGI I-Il--l

1-[--[---1--1--1-1-1---1-1-1--1-1-1-1-1-1-1-1-1-1-1-

100 10

I •. 1 6

3 2

• I!T!IIS s 110 • BII 1[0 • 0.1000!001

II 8

6 II

8 o

9 6

1 I 2

I 2 8

1 II

" I 6 o

1 7 6

• ILL Cal.l.tS a 0."5/17!001i • ~!l. 'ALOI • 0.2J5]lo02

122 9 0 ·2 2 .8 II

2

" o

2 5 6

2 7 2

2 8 II

• OIO!IPtO' • 0.00001.00 • I • II • S - 0.96791001

1 o II

1 2 o

1 1 6

• O,aIPLOW - O.OOOOltOO • 18101 Cll- O.OOOOltOO

TEST or 'ABIOijS P8IJTIIG OPTIOIS

BBOOI 10 •

)98.101 ) 16.228 251.189 199.526 158.Q89 125.89) 100 79. U3 6).096 50.119 39.811 31.623 25.119 19.953 15.8119 12.589 10 1.911) 6.31 5.012 3.981 3.162 2.512 1.995 1.585 1.259 1

I I 01 II II 11 10

1000

I 10

lot Ot II 1

11 00 I

00 OlIO

o 00 o II OOOtO

o I 1 OOIIIOIO I 0 001 to

I Ot 10 I o 10 01

o to 10001 II

.~W-!DG! 10 1111111111222222222233333))3))11 1. 12311561890123115618901231156189012)11561890

• !.tII!S • '0 • lLL CH1IN!LS • 0 •• 51171.011 • BII WID. 0.10001.01 • ~!AI VALUI - 0.235)!.02

DATI U1Jt.8. JO • 11

• OIOllPLOt • 0.0000 •• 00 • O'.BPLOt - 0_00001.00 • I • I • S • 0.9679 •• 01 • 11101 CIA- 0.00001.00

TEST OP 'llIons PI1ITIIG. OPTIOIS

8800lK 10 " 1000 DlT. 2JIJI.S. 10 " 12

LOll EDGE UTECUT 1 2 ) 2 .. ]

5 10 6 19 7 11 8 65 9 10)

10 180 11 )14 12 1187 1) 70ct

" 1001

15 1131 16 1651 17 1921 18 21J5 19 2l3S 20 4 .. S8 21 2SIIl 22 l611 23 2664 2' 2705 2S nll5 26 l793 27 2n7 28 2922 29 10011 )0 3122 31 3236 3l 3363 13 lSOI l' 111170 l5 3UI 36 3990 37 'fila 18 1Il0] 39 "'"0 110 115117

1.01 !DG! UT!CIlT

• !!lTII~S • 110 • SII ilD • 0.1000£.01

100 10 1. 0 0

EIIOBS

1."" 1 2.6116 )

3.'" 5.811 6.16' 8.775

11.576 13.151 "_866 17.176 18.111 17.889 16..11)2 14.629 14.1U 11.091 9.11 8."85 7.1111 6.'03 6_125 6.928 7.]118 8.66 '_ass

10.863 10.671 11.269 11.111 7 13 12.689 12.61 12.166 12.US 11.705 10. n4

!IIOIS

100 10 1. 0 0

1 1 2 I 1 2 3 5 8 2 7 5

1 2 3 , 6 9 3 9 7 , 7 3 0 1 1 0 .. 0 0 1 1 1 1 0 5 8 5 1 2 7 1 0 5 9 2 7 1 2 8 5 , 1 .. 8 3 8 , 1-1-1-1-1-1--1-1-· 1-1-1-1-1-1-1-1-

1---0---1 0--1

1~1 I-~1

l-o-~ 1-0-1

1-0-1 1-01

Xo-I: 101

%0-1 1-01 1-01

1-01 X-Ol

10-1 101

101

101

101 101

101

01 X01

10 101

lOX 101 10 10

101: 101

101

01 01 01

OX

101 1--1--1-1-1-1-1-1--1-1--1-1-1-1-1-1:--

1 o o

12] , 0 0 5 , 2

1 t , 6 9 1 , 3 1 t 1 0 7 1 2 S S

2 3 7 , 5 8 ,. 1

5 1 5

• 8 3 1 8

t 2 o 2 3

1 7 )

7 8

2 S 1 1 9

• 11.1. C8111ELS • 0.,S .. 71.0, •. IlIDUPI.OI " 0.00001.00 • I • I • S - 0.96191.01

• O'.IPI.OI - 0.00001.00 • ft!ll '11.O! • 0.23531.02 • 18101 C81- 0.00001.00

rEST or nli BU

_ BIOOI[

12.8 12 ... 12 11.6 11.2 10.8 10.ij 10 9.6 9.2 8.8 8." 8 7.6 7.2 '.8 6G" 6 5.6 5.2 ".8 .....

Ii) • 2000

I I I I 1

--I I .I I I I I t I

--1 I I-I I .I I

1 I .I .I

DUI 2.JOL84

I--I I 1 I I 1 -I I .I 1-- .I

1 --I: I I 1 --I 1 1 I I I I 1:-----1

Il ---I .I 1 1

J. ,. 3.2 2.8 2." 2 1.6 1.2

--I

.8

.11

CllliULS 10 I

i)

1

I I 1 I I

• !1'rBI!S • 20 • BII VIO • 0.50001-01

2 3 5 6 7 • • ALL CII1.'ILS • 0.1253!.0] • IIAI 'lLOI • 0.49851.00

9 1 o 2 1 4

• OIDllrLOI • 0.00001.00 • I • I • S • 0.24031.00

I I I

10 - 1]

1:----t I I I 1 1 1-

I--I I I I I I--

5 6 7 8 9

• O'II,tOI • 0.00001.00 • lSIOI CH1- 0.00001.00

I I I

2 o

rItLl': 01' ID a I

11800K ID a

110 165 160 155 150 I~5 1110 U5 UO 125 12D 115

- 110 105 _100

95 90 85 80 75 70 65 60 55 50 115 .0-35 30 2S 20 15 10

5

CIiUlleU 100 10

1

CO'TnTS 100 10 1.

r.OV~!DGI 1. .,0 •• 1 0

I I %- I

-U-I I

-I 1 % I 1

I I I -I-I

% I

-I I-I I

-I -I

I I I -I-I

Dnl 2JOr.a.

I I I

I-

--I I I I I

-I , -I I

-I r

- -I I-I

-I -I

--i

I I I I I-

I I-

I I 1- -I-I

I 1- -1-1- -

I~I I I I

10 • "

o • o 1 2 3 , 5 6 7 • 9 0 12311567890123t5678901231156789012J1I567890123'567890123I1se7890123'56789012311567890123'567890123'567190

11111111111 1 1212311587901115665633190965113113222112

21 2551157316231111076561118037376855.7.920293882

111111111122222222223333333333'11'11"'11111155555555556666666666777777777788888888811.999999999 01-23'5678901231156789012311567890123.56789012311567890123.5678'0123'567890123'56789012]t567890123'56789

• nuus • 100 • 11.1. Cal.IILS • 0.27t51.0' • O.Dllrto •• 0.00001.00 • OtllPLOt 2 O.OOOOleOO • BII lID - O.IOOQI-OI • 811 •• 11.01 - 0.30591.00 • I • a • s • 0.73721-01 • 11101 cal- 0.00001.00

TITLE or OD • 2

HBOOK ID •

92.5 90 87.5 85 82.5 80 17.5 75 12.5 70 67.5 65 62.5 60 57.5 55 52.5 so '17.5 "5 42.5 4O ]7.5 15 ]2.5 ]0 27.5 25 22.5 20 17.5 15 12.5 10 7.5 5 2.5

caullu 100 10

1

connTS 10 1.

LOV-EDGE 1. ·,0·· 1 0

2 DAr. 2JOLU

x x - I

-n x x x X I X X X I I I I I III I-I

-I I-I I X - I I I X X I x- I x-X I X I X

10 - 15

X - x-x x X I 1 X I I x-x I X J: I I I I I I -x I- 1 X 1 I X I X-I I X 1 -I I-X x- J: I

-x I I I X I-I I X I I

- X X X I-X X- X I ~x

- I X I X X-

-X I I I~X I

-I X I ~ -I X -x I ~n-I I X I ~~ I I-I ~ X x-

o 1 o 1 2 J 4 5 • 7 I 9 ° 12]115.789012]056789012]056789012]115.789012]05.719012]056789012]05.7890123.5671'012305678.012].5.7890

22]23]]06565576788879668716655'6]]5]2311111 1 171]876671'0615]]66518176'8'70]66]1090885689]87702

111111111122222222223]]1]1]]]]""""'4"555555555566666'6666177771777788881888889'99"'999 012]II56189012]II56789012JII56789012]456789012]'56189012]1156789012]1I56789012J456789012J45678'012]45678'

• ~IT'IES • 100 • lLL call1ILS • 0.2255,00' • aIDE.PLOB • 0.0000'000 • O"'PLOI • o.ooooa.oo • 81» lID. 0.1000E-Ol • ftll1 'lLUI - 0.70911000 • I • 8 • S • 0.10"1000 • '.101 CIl- 0.00001000

.e ••••••••••••••• • ••• • ••••••••••••••••••••••••••••••••••

• • • rOICTIOI 8IK:ftlZ1TIOI Bf 50a100fII. arIT IDa ] • • • ........................................................

5 - 'ILOI OF CaJECTI'1 PUleTIOI 25 • CHI5QUIII £e - UPECTEO Ca&IIeE II 5 DOllie rail .UT IrlurIOI ~lPPA • E5TIH&T£0 DI5T1ICI TO SIIIHGH LA3aD&- 5TEP LEICTa 800IFIII

n£IATIOI 110. 11.25'- 0.8'49] •• 02. a:- -0.121]]1-02.1&"&. 0.282541-01. LAIIO&- 0.100001.01

.&1 11 !TEl PU&IIftlR STUOUO COIIILUIOI 11011 8 !:I ULOI Oln&rIOI PACTOI

1 0.15J85£·0] 0.3795n.01 O. 151197 •• 01 2 0.781961.02 0.212861.01 0.16708 •• 01 ] O.JOOJOI.OO 0.1117]0£-02 0.1112] •• 01 .. 0.697901.00 0.285761-02 0.113421.01 5 0.6752"1-01 o. 11l98~02 0.17)971.01 6 0.11860£.00 0.2537"1-02 0.19291,,01

fItl.l OP [0 a 1

HBOOK

170 165 160 ISS 150 "5 1110 135 130 125 120 115 110 105 100 95 90 85 80 15 70 65 60 SS 50 115 110 35 30 25 20 15 10 5

10 a

CBunr.s 100 10

1

coltZlrs 100 10

1.

3

I I 1- 1

DUll 10 '" 16

-.... I -.

I .. I

·1 -I ·t

t -t

·1 I t

et -t t • t

el -I

-I -[

·1 -I

·t --I -I

·1 _·t ........... _,

t I­I • I-I

I ,­I-I· I I -1-·

I-• r 1 -u r 1 1 1 ••••••• t-r I. - •• r I-I •• 1 1- • I r- I .-I. I - •• 1-1 I-I - I 1- 1 • -1 I •• I

I 1.1 I 1 .1 I. •• I-I 1-. I 1--.1 1-1.-1

1-1 --t r- -- -.. 1-1· I. - -. I 1--. r-- ... 1-1 I-.--I 1---1-··-1-··-1-·

o 1 o 1 2 3 • 5 6 7 190 12311561890123115678'0123'567890123115678901231156789012311567890'211156789012)11567890121115671'012111567890

11111111111 1 1212)11587901'56656))190'6511)1132221122212333'6565576788879668786655116)3532311111 1

21 25511513162JII.0165 •• ,8037)76855.711920293882171187667,.06153366518176'8'70366310908856893817.2

I. 1111111111222222222233333333))'11111111",,'5555555555666666666617777777718881888888999'999"9 a 012311567a9012)115678901231156789012)'5678901231156789012)11567890123'5618'0'23'567890123'5678'0123'56789

• '.TIIIS - 200 • ll.r. CI1 •• ILS • 0.50001.011 - IIAI ,al.UI - 0.118781.00

- alOIIPtc. • 0.00001.00 • 1 • I • S - 0.21961.00

• OYllrr.ow - 0.00001.00 • BII VID - 0.10001-01 • 11101 CI1- 0.00001.00 • CatSQUAI- 0.811131.02

eu.,pu: ~o .. S

rIfLe or 10 .. 1

BlOOI( ID ..

185 180 175 170 165 160 155 150 11&5 no tl5 tlO 125 120 115 110 105 100

95 90 85. 80 75 70 65 60 55 50 115 1&0 35 )0 25 20 15 10 5

5

CUUI!I.S 100 10

1

COITZITS 100 10

1.

. LOII-IDGI 1 • ·,0·· I 0

o

• I

·0 II

·0 II

eo I II 0·0

IeOE • I

un·x 00···· .. ·, ...

I

I I I III OItO

UIU 111011 10 eox ueIe. X O. I XI U .0 • O·

III I .•

o I let III

lex OIl IIO I •

OlTB

I n: I I I

III 0 I I tOO I 0 0

XOII... III • I I I ••• X I ••• IU

10 • 17

I E X OI.X 0 I Ie. I. I 0.0 I •• 1 lot I O. 0 I.I I a .XOI XO U. I 10 II"O I II I O. I I I. E • II I II. a 111% 0.1 01 101 •• I 0.0 U •• t I 10 1.1 10.1 I O.OX I OX.X I 1.1 ~.~X UeU

0.01 11 •• 1 I II 0 •• EO •••••• t a IU.. I

I naIl I 00"0 I II 1101··01

O····X IX··

o i 2 1 1& 5 6 7 8 9 0 1211&5678901231&56789012)'5678901231&5678901231&5678901231&5678901231&5678901231&567890123.567890123.561890

11111111111 1 . 121231&587901.56656311'09651&31&32221122232lJ3.65655167888196681866551&633532311111 1

21 2551&513'6231&1&07656"803131685561.92029388211'387661"0615336651817698910366310908856893817.2

111111111122222222223333333333"'''' •• '''555555555566666666667111111111888888888899999999'9 01231&5618901231&5618901231&561890123.561890123.561890123~567890123'567890123'5618901211&5&7890123'56189

• IITIIIS .. 200 • lLL CR1"NILS .. 0.50001>0' • aJOllrtal - 0.0000.>00 • O'.lr"OI .. 0.0000' •• 00 • BII VIO .. 0.10~01-01 e C91SQ011- 0.95JOI~02

• 8111 '1LOI - 0.'8781>00 • 1 • 8 ; S • 0.21961>00 • 18101 C81- 0.0000."00

.. £U:.'U: NO • 6

. ..•............ _-_ ..........•........••....••.••..••••. _--... -... _-_ .... _-....... -... -.......................•......••.•.... 111001 lJel '"tsICS. fU "ISlOI J.ll lJ:stoGlll liD 'La! IIDIX 20llJUII

••••••••••••••••••••••••••• __ •••••••••••••••••• __ ••••••••• e •• ____ ••• __ ••• ___ •• ___ •••••••••••••••• _ ••••••••••••••••••••• __ ••••

10 fULl: J:D I/C II~IIU 0111 leu LO .. I lJ"lI lDDlasS LIIGt. •

...•..•••...... _-.. -..•..•....•••......•• _-_._-_ .......... _--............................ _--.............. __ .•.....••..... -..

1 lZ 1000 I ZOO 0.0001·'0 0.2001·01 na 215 •

l aUGI! or DUI 2 12 100 .. I 100 "'000 •• 00 0.1001.01 119 119 . J J lZ ·,000 I 200 0.000'.00 0.2001.01 119. 215 •

~ lJS1GI ot Dr:;1 /I ]2 1000 I 100 0.000'.00 0.1001·01 /198 119 •

5 5 J2 1000 I 200 0.000'.00 0.200'.01 /I" 215 •

6 OSlGI.or 0[51 , J2 1000 I 100 ... 000 .... 0 ... 100 •• 01 /I,. n9 •

7 1 12 .000 I 2 .. 0 0.0041'.00 0.200'.01 ". 215 •

8 IIS'GI! 0' DISI • J2 1000 I 100 0.000'.410 ... 100 •• 0. " . 119.

, , 12 1000 I 20 .. ... 00 .... 00 ... 2001.0 • .,. 215 . 10 lJSA101! 0' ;)UI 10 12 1000 I 100 0.0001.00 ".100 •• 01 "8 119 •

II 11 12 1000 I 200 O.DOO •• OO 0.200'.01 ". 215

IZ 1JS11Ol!! or ;)u. 12 lZ 1000 I 100 0.0001.00 0.10011·01 "8 ttt.

Il IJ ]2 1000 I 200 0.0001.00 0.200'.411 ". 215 • •

III IJUIOI 0' OUI .. l2 1000 I 100 0.000'·00 0.100 •• 01 /I" 119 e

15 15 12 1000 I 200 ... 000 • .00 O.ZOOltOt ". Zl5 •

16 IIS'IO& or DISIt " )2 1000 I lOa 0.00010 00 0.100.·01 "8 119 •

17 11 ]2 tooo I lOO 0.0001·00 0.ZOO.t01 '98 Z15 •

II OSAG& 0' 0151 II 12 1000 I 100 0.0001·00 0.1001·0' '911 1t9

»

,') 19 l2 1000 r 200 0.0001·00 0.2001.01 498 215 •

20 DSIGI: CP DISK lO JZ 1000 r 100 0.0001·00 0.1001.01 '" .,9 . 2. 21 l2 1000 r 200 0.000..00 0.2001·0. '98 215 •

22 DUGIO' aISK 22 12 1000 r 100 0.000 •• 00 0.1001·01 ". .19 •

2l U 12 1000 r 200 0.0001.00 0.2001·01 . " 215 •

.•

. ,

HPLOT and HPLOTA

HPLOT and HPLOTA are FORTRAN callable facilities for giving HBOOK output on devices other than the line printer. Their main design objective is to be able to produce drawings and transparencies of a quality suilable for talks and publi­cations. With this objective in mind. they do not present all the numeric infor­mation available with the HBOOK output routines. (The HBOOK output gives what can be regarded as working histograms.) The HPLOT and HPLOTA output is. of course. not restricted to the line printer resolution or character size.

HPLOT is written in A.'1SI standard FORTRAN and is on the IGM VAX. An on­line· manual is available. To print out a copy, type BJ..:yprint HplotSDocument:Hplot.doc. For additional information on HPLOT on VAX comput­ers see the VAX HPLOT Advanced User's Guide. This manual is also on-line. To print out a copy, type HplotSDocument:Hplota..doc.

HPLOT utilizes the SLAC Unified Graphics System (UGS) to produce output on a number of devices: Tektronix 4010 series graphics terminals, Tektronix 4027 and GIGI terminals. Output can also be sent to the Versatec 1200 for user with access to one.

The HPLOT package is based on the HPLOT version at CERN, produced by H. Watkins. The CER:-.1 version of HPLOT had many features specific to the GD3 graphics package used on the CERN CDC computers. Many modifications anti additions have been made in the HPLOT package to interface it efficiently with the SLAC UGS as implemented on the VAX 11/780.

The Basic HPLOT Package The basic HPLOT package consists of only eight user callable routines. The

eight routines are:

HPLAX - Provides titles for the axes.

HPLCOM -All"ows the user to supply comments on the picture.

HPLEND -Termination routine

HPLI~T - Initialization routine.

HPLIST - List all HPLOT error messages and their meanings.

HPLOPT - Allows the user to change various options.

HPLOT - The basic routine. It defines the histogram(s) which are to be plot­ted.

P.PLWI~ - Allows the user to plot several histograms on one picture, each his­togram being plotted in· its own window (where a window is a smaller part of the complete picture).

-1-

IGM Introduction HPLOT

. In addition to these routines. the user must have created his own his~o­grams with HBOOK. For its graphic output. HPLOT uses a graphics package. but the HPLOT user need never call any graphics routines itself. On the VAX the SLAC UGS is used as the graphics package.

HPLOT has sume internal routines and common blocks. For ease of identification. and to avoid the user calling them by mistake. the internal rou­tines have names such. as' HPLA. HPLB. HPLC .... and the common blacks have names such as HPL1. HPL2. HPL3, ... etc.

Header Page

As new features are added. they are signaled to the user on the EPLOr header page. This page gives the version number of HPLOT. the date of crea­tion of the HPLOT library. the run date of the program. etc. The HPLOr header page is produced automatically by HPLINT;

Termination Page

A call to HPLEND will produce the HPLOT termination page which gives the number of pictures that HPLOT has produced. If HPLEND is'not called. lhen lhe plot file' will not be properly closed in UGS. If lheterminalion page is absent. it indicates that the user never called HPLEND.

Termination of Character Strings

All HPLOT character strings can be up to 80 characters long. They must be ended with a dollar sign (5). The dollar sign is text-string delimiter. and is not included in the output. On the VAX this character string delimiter is essential. therefore it is recommended that you use either:

and never use

call HPLCOM (X. Y,8HCOMMENTS) or call HPLCOM (X. Y, 'COMMENTS')

call HPLCOM (X. y, 7HCOMMENT) or call HPLCOM (X,Y,'COMMENT')

It is necessary to use a dollar sign as a text string delimiler both in EBOOK and HPLOT.

Subroutine Calls Additional HPLJT calls allow greater flexibility in presenting the BEOOK his­

togram dala. Olher calls permit the user to add other data lo HPLOT plots. These additional calls are described in "HPLOT Advanced liser's Guide". Pro­grammers should be familiar with this document before going on lo the advanced calls .

. All subroutine calls in EPLOr are of the form

caU HPk .. (PAR!. PAR2. PAR3 ..... PARN)

-2-

IGM Introduction HPLOT

where PARt PAR2, PAR3, ... ,PARN are input parameters.

Hierarchy of Calls

There is a certain order in which calls must be made, i.e. HPLINT must come before all others, and HPLEND after all others. The following diagram is given to help remember the orders.

HPLINT HPLOPT HPLWIN HPLOT HPLCOM HPLAX HPLEND

-3-

IGM

HPLOT Advance Calls This describes some extra routines which can be used to give the user

greater control over the HPLOT pictures. HPLOT on the IGM VAX 11/780 uses calls to the SLAC UGS to produce plots on several devices. The user should already familiar with HPLOT and HBOOK and should have read the basic HPLOT users guide before using HPLOTA.

The following are the HPLOTA calls and a brief description of what they do:

HPLBOX - Draws a rectangular box on the picture.

HPLCAR - Allows the user to write a comment string on the picture using the full range of character generation in the SLAG UGS.

HPLCN2 - Plots a two-dimensional histogram by drawing contours of equal content on the picture.

HPLCOL - Changes the colors assigned to various graphic outputs on the color displays.

HPLDO - This is equivalent to the call HISTDO in HBOOK.

HPLDUM -Sets up an empty histogram frame with any combinations of linear or log scales.

HPLERR -Allows the user to draw his/her own error bars on the picture.

HPLFUN -Draws a smooth curve on the picture.

HPLGIN - Returns the lower and upper coordinates of the current picture window in page coordinates.

HPLINE - Draws a series of straight lines on a picture.

HPLKEY -Prints a symbol and its explanation on the picture.

HPLNEW -Prints a list of new features for the current version.

HPLNUL -Draws a box in place of the histogram and its contents.

HPLPLM -Changes the plotting region on the device.

HPLPRO -Draws a scatter plot and its X and Y projections (if present) on a 2 x 2 windowed plot. Separate titles may be given to the projections if required.

HPLSIZ - Allows the user to specify the size of the characters used by HPLOT for certain standard text strings.

HPLSUR -Plots two-dimensional histograms or tables as solid objects viewed from infinity. The object can be rotated within limitations.

HPLSYM -Draws symbols or points on the picture.

HPLTIT - Writes a title for the histogram instead of using the t.itle from HBOOK.

HPL1YP - Allows the user to specify the line type used for drawing lines on the histogram frame.

HPLL:SR -This is a dummy subroutine name. The user should use this for his/her routines.

-4-

IGM Introduction HPLOTA

HPLWIR - Draws axes on the picture within the plot frame. Can also draw tick marks and value labels on the axes.

Making Direct calls to UGS from Hplot HPLOT produces graphics output by calling routines in the SLAC UGS. There

are many features in UGS which are never accessed even in the Advanced HPLOT. In addition some of the UGS routines used by HPLOT are not used with all possible options. This Section tells how to access UGS routines in a manner consistent with HPLOT.

Calls to UGS routines which produce graphics output must include an array to which the graphics information is to be written. For example to plot points on the screen one can call

call UGPMRK (STRING, X. y, N, ~1)

where 'ELMNT' is the array to which the graphics data is added. In HPLOT this graphics array is in the labelled common /HPLBUF /

COM~ON/HPLBUF /NSIZE,ELMNT( 1000)

where 'NSIZE' (= 1000) is the dimension of ELMNT.

A user wishing to add to a picture with UGS calls may do so simply by includ­ing the common /HPLBUF / in the calling routine, and using the array ELMNT in his/her UGS calls. A call in HPLINT(LUNIT) initializes the UGS library, while cal­ling HPLEND closes the plot tile.

The basic user subroutine form is then:

SUBROuTINE MYLINE ( .... ) • • • COMMON/HPLBUF /NSIZE,ELM~T( 1000) • • • make calls to UGS routines • • • RETURN END

Note: EPLINT initializes UGS such that the plotting region is a square cen­tered on the device screen with both X and Y in the range 0.0 to 1.0.

To Run HPLOT (and HPLOTA) Compile your program, link your program including lhe link to EBOOK (if

you make RBOOK calls), HPLOT and UGS, and tinally run your program.

-5-

IGM Introduction HPLOTA

Fortran myprog Link myprog ,hbookSllbrary:hbookl/l, hplotSllbrary:hpiot/l,-UgsSllbrary:Nucleus+tek40 1 O+Objllb/l

Run myprog

Myprog is just an example file name, use the file name for yo'ur program. Tek4010 is if you want your out put to go to a Tektronix 4010 series terminc:.L The various links to UGS follow;

-6-

IGM

Display DISPLAY is an interactive program on the IGM VAX which utilizes HPLOT sub­

routines. It uses the intermediate HEOOK tile as input. The program allows the user to modify plots in a variety of ways before submitting them to the graphics devices. such as:

Adding labels and comments Overlaying plots Changing limits of plots Doing various types of new tits on the data Combining multiple plots in a frame.

The on-line documentation can be printed out by typing DispLaySLibrary:DispLay.mem.

To Run Display Type

@DisplaySUbrary:display.

-7-

IGM

Unified Graphics System This is a collection of low level FROTRAN 77 subroutines which allow the user

to plot point, line segments and text. Documentation for UGS. "Programming Mdnual", is available from the Computing Services Library. It also allows the user to control character sets and to output to a number of graphic devices. Interactive, slave and review file drivers are available for the GIGI. Tektronix 4010 series terminals and Tektronix 4027 terminal. A driver for the Versatec (1200 and V80) is available for user with access to that machine.

Link your program as:

Link ... your_program,­UgsSlibrary:Nucleus+device_code+Objlib/1

where device_code should be replaced by one (or more) of the following:

DECGIGI - Digital's GIGI graphics terminal SDDGIGI - Digital's GIGlgraphics terminal SEQGIGI - Digital's GIG I graphics terminal TEK4010 - Tektronix 4010 series display terminal SDD40 10. - Tektronix 4010 series display terminal SEQ4010 - Tektronix 4010 series display terminal TEK4027 - Tektronix 4027 display terminal SDD4027 - Tektronix 4027 display terminal SEQ4027 - Tektronix 4027 display terminal VEP 12FF - Versatec 1200 with fan-fold paper

-8-

(interactive) (slave) (review file) (interactive) (slave) (review file) (interactivE:::) (slave) (review tile) (print file)

..

C C TEST HBOOK AND'HPLOT ON VAl C

C

C

C C C

C

COltMONIIA(4000) DIMENSION SIGPAR(3)

BOOK GENERAL TITLE

CALL HTITLE('USE OF HBOOK AND HPLOT$')

BOOK HISTOGRAI!

CALL HBOOK1(2,'GAUSSIAHS',SO,-S •• S.,0.) CALL HEaROR (2) CALL HLOGAR (2) CALL HPRERH(2,3HYES) CALL HPRFUH(2,3HYES) CALL HMINIM(2,1.) CALL HMAXII!(2,200.)

C lILL HISTOGRAM C

DO 1 1=1,1000 CA LL R ANIfCR (HA N) CALL HPILL{2,RA~.0.,1.)

1 CONTINUE C C PIT A GAUSSIAN TO HISTOGRAM C

C

C C C C C

C

C

CALL HPITGA(2,COEPF,lVEHAG,SIGI!A,CBI2,2,SIGPAB)

EDIT HISTOGRAM ON UNIT 3 (DEPAULT)

CALL BSINDX CALL HPRINT (0)

HPLO~ TUE HISTOGRAM

(HPLOT PRINTOUT OF STATUS ON UNIT 3)

CALL HPLINT (.J) CALL HPLOT(2,O,O,O) CALL HPLAX('X-VALUES','COUHTS P!1l BINS') CALL HPLEND

STOP END

suaaOUTIlfE HANNOR(RlN)

C NORMALLY DISTRIBUTED RANDOM NUMBER C

DATA 10K/11 IOI(=-IOK IF' (IOK.GT.O) GO TO 2 y= R NDlt (KK) Z=RNDI't (KK) X=6.28318S*Z Al=SQRT(-2.0*ALOG(Y» A=ll.SIN (X) B=ll·cos (X) RAN=A RETURN

2 CONTINUE

USE OF HBOOK AND HPLOT

........•.....•.........•.•....•......... -.••.....•.................•...•.. HBOOK OCR PHYSICS VAl VERS 3.31 INDEX 23JUL84

......•.........•....•.•.•.••..•..••..•••...•.•.••....•........••...••..•.. NO TITLE ID ENTRIES DIr! NCHA LOWER UPPER .....................•....... -•••.•••••..•...•..••......•.•.•.•••..••..••..

1 GAUSSIAN 2 1000 1 50 -0.500E+Ol 0.500E+01.

••....••.....•.•........•.•••.•••..•••.•.•••.•••...••...••.................

'JSI: or !lBOOK l!lO ilPLOT

tOAOSSIU

!laOOK 10 " 2

251.189 199.526 158.4n 125.893 loa 79. ru3 63_ 096 50.119 39.811 31.623 25.119 19.953 15.849 U.589 10 7.94) I 6.31 I 5.012 0 3.981 I· 3.162 II 2.512 ·0 1.995 I 1.5,85 I 1.259 • I 1 1

0 I· •

III 01-10 1

I 01

11··0 IO"OI"U I.. 0··1

• I • III ·0 ., I

...

o 0 .. I

I • I X·

DATI: 2lJOLBII

I UIO

°UII 'JOOI

I·III I UIl I IIIl I I 0 I 0 0

CHIUlLS 10 0 1 2 3 .. 5 1 123'56789012311567890123115678901234567890123'567890

CO'T!~TS 10 11123'56711886554)31 1 1. 5241522881'2'2,0785118811133'

UIOI 1. 21l3)'56188B89i777655,241,1112 1 o 0000000000002"73866~616460175675528101770000000000 o 0000000000003"'7952'80805644'066'2203330000000000 o 00000000000064163068552525569587728302220000000000 o 00000000000012760'92841334208828864101110000000000

rOReTIOI 10 112145677887765.321 1. 12360521122292280100011196,321 o 0000000013'2295'8866~91830083701797160152100000000 o 00000137~244'57'29161JI745.~867~1060'7289362100000 o 0012530004928314998840587515)"0012'358607271'2100

LOW-!DG! --------------------------1. 54'444333332222211111 11111222223333)'4'44 o 086~2096"2086'20864208.'202'6802"680246802"6802"68

• !~TaI!S - 1000 • ILL CBlIIILS ,. 0.10001.0' • O~D!arLOW ,. o.ooooe.oo • 8I~ WIO - 0.2000&>00 • ~!ll 'ALO! - 0.3060!-01 • 8 • ~ • S - 0.10032+01 • C8ISQUla- 0.4036!>02

10 2 2

• of2arLoi - 0.00002+00 • ASIOI CHA= o.ooooe+oo

. . . ....................•..•....•................•.•............•...............••. • HPLOT UCR PHYSICS VAX VERSe 2.13 CREATED 20JULS2 PROGRA~ DATE 23JULSQ

.•..•.....•.•.•.•......••••••.......•••.....•••.•..•.••...•.•.....•........••..

. NEW FEATURES FOR THIS VERSION

.1). ~AKE HPLOT CO~PATIBLE WITH THE UNIFIED GRAPRICS SYSTEM ON THE VAX

.2). Foa CONSISTENCY WITH HBOOK, SPLOT ERROR NUMBERS CHANGED FROM6~- TO 9-­

.3). SOME NEW ROUTINES HAVE BEEN ADDED IN THIS VERSION - SEE NEW IiRITUPS

.Q.) LATEST VERSION BAS ALL ADVANCED HPLOT FEATURES CHECKED OUT

.5.) NEW FEATURES INCLUDING LOG-LOG SCALES AND IMPROVED CONTOUR PLOTTING

.6.) MODIFIED TO USE LATEST VERSION OP OGS INCLUDING MULTIPLE DEVICES ............................................... -••.•.••••..•.•..•...••.. -- ..... HpLCHR - HS!Z: 0.010 0.020 0.020 0.015 0.020 0.020 0.015 0.015 0.015

npLINT.O~TIONS IN EFFECT NOPG NEAH MCHA BAST MSQR BTIT TAB SURR NeEN ENG

------------------------------ NEW HPLOT FeAME =

•••••• o ••••• o •••••••••••••••••••••••••••••••• e •••• e ••••• _ ••••••••••.••••••••••••

HPLOT TERMINATING • 1 PLOTS HAVE BEEN PRODUCED

•••••• · ••••••••••••••••••••••••••••••••••••••••••• e •••••••••••••••••••••••••••••

Ii lit

~ Z • I ! ~ I ,.. ~ 1/1 ...

J

:Ie I

I •

, •

j •

i

.. .. • COONTS PER BIN

.. • •

•. J

"

Intergrated Software Systems Corporation Graphics

There are several graphics programs available from ISSCO for your use. They cover a wide range of applications. Currently we support 4 of their products:

Cuechart - Simple graphs and charts (query driven) Tell-A-Graf - Graphs and charts (via English like commands) Tell-A-Plan - Planning program (includes gantt charts) Data Connection - Data retrieval program

There is currently a proposal to purchase DISPLA. a set of FORTRAN callable graphics subroutines capable of 2 and 3-Dimensions.

Cuecbart Cuechart is an interactive program on the IGM VAX designed to produce fast

and easy charts and graphs. It can be used by novices and experts alike. With Cuechart you can produce four different chart types: plot. bar, pie, and word. Of these types there are several variations from which to choose. Each basic type and variation is shown in the Cue chart manual available from the Computing Ser­vices Library Rm. 1245 Bldg. SOB. Cuechart can be run from any terminal by typ­ing CUE <ar> after the system prompt: S.

Cuechart uses chart ID's to index the various chart types. These will be listed for you when you first enter Cuechart. You will be asked for a chart ID. Once a chart is chosen, you will be queried for all the information needed to com­plete your chart. After entering all the charting data, you can review your input, and if needed, change any entry. After reviewing your charting data, the chart will be saved in a file, CUESAV.DAT. A possible drawback to Cuechart is that once a chart is saved it can't be changed except by using the system editor, EDT/SOS (To do this you will need to know the command structure for Cuechart).

Since your chart is not displayed on the screen, you will need a hardcopy. The procedure CUEZETA will produce a hardcopy of the chart{s) you made in Cuechart. Simply type CUEZETA <ar> at the system prompt: S. You will be queried for any necessary information. CUEZETA sends your chart file through Tell-A-Graf, which does the actual processing and plotting of your file. The plot file is then sent on to the ZETA 1453. You can pick up your graphs from the chart bin in the first tioor I/O room.

Help is available to you from many sources. Cuechart has a help facility. There is a system on-line help available by typing Help @gra.fhelp Cu.echa.rt <cr>. as well as the Cuechart manual, and the Help Desk (Rm. 1275 Bldg.50B). To report bugs. you can contact Cammie Edgington @ext. 4748.

Tell-A-Gral

Tell-A-Graf is an interactive program on the IGM VAX for the design of charts and graphs. By using English-like commands, you can create a publication qual- . ity graph to your specifications. There are four basic chart styles from which to choose: plot. bar. pie, or word. You can specify certain variations and

-1-

IGM Introduction ISSCO

combinations of the" various charts to form more complicated graphs. The methods to perform these tasks are in the Tell-A-Graf manual available from the Computing Services Library Rm.1245 Bldg. 50B. Tell-A-Graf can be run by typing TAG <cr> after the system prompt: S.

Tell-A-Graf can send output to a number of devices.

AED 5 i2 and 767 terminals HP 2623 terminal Tektronix 4010 series (Tektronix 4010 series emulators) Tektronix 4105 terminal VT 125 (GIGI) terminal VT 100 terminal with retrographics IBM Personal Computer Printer (any terminal without graphics) Zeta 1453 4-pen plotter Zeta 8 8-pen plotter Calcotnp M84 8-pen plotter" FR 80 film recorder

Tell-A-Graf can use two of the above devices ata time. a primary device and a secondary device. You tell Tell-A-Graf what those devices are via a profile file, TAGPRO.DAT. This file will" be created for you by the Profile Prompter program when you run Tell-A-Graf for the first time. Or you can use a simple procedure, MAKE_ TAGPRO. before you run Tell-A-Graf. by typing MAKE_ TAGPRO <cr> after the system prompt: S. The TAGPRO.DAT file contains the device names and cer­tain device dependent variables' needed by Tell-A-Graf to communicate COrr.ectly with the devices you choose. Once you have a Tagpro file in your directory you shouldn't have to create another one.

The primary device is usually a graphics terminal. This is used to view your chart as you make changes, or to preview a graph(s) before you send it down to be plotted. The secondary device is usually a hardcopy device. This is used to produce final copies of your graphs. To distinguish where your chart output goes, to the primary or secondary device, Tell-A-Graf has two commands: GO - to the primary device, and SEND - to the secondary device.

Tell-A-Graf uses 3 levels to input information: the Generate Level, the Modify Level, and the Calculate Level. At the Generate Level you specify the type of chart you want: generate a plot.. The generate level is also used to input any environmental commands: page layout is low resolution vertical, or file specification commands: data file is "filenm.e:z:t". The Modify Level is used to input data: curve 1 data is 1,22.54.3 ... , and other information regarding the way your graph will appear: curve 1 COlOT is blue. Operating commands that display, save. or reset your graph or graph data can be entered at this level also. The Calculate level is only available in the Tell-A-Graf version that is linked with the Data Connection. This level is known as the Decision Support Connection part of the Data Conn~ction and is discussed below. One nice feature of this level is that it allows you to edit data points while still within Tell-A-Graf.

Tell-A-Plan:

Tell-A-Plan is an interactive Managerial tool within Tell-A-Graf on the IGM VA)(. You can use all the Tell-A-Graf commands plus five management tools: Plan­ning. Presenta~ion, rracking. Forecasting. and Simulalion. Each of these proper­ties are explained in the Tell-A-:Plan manual available from the Computer Service Library Rm 1245 Bldg.50B. Tell-A-Plan can be accessed by typing TTAG <cr> after the system prompt: S.

-2-

IGM Introduction ISSCO

Tell-A-Plan uses English-like commands to produce planning charts (gantt) in several ditIerent versions (looks). These charts can be revised as needed for evaluation of the project. Tell-A-Plan will get the "Today"'s date from the com­puter system or you can enter a "Today" date. By using the date feature and other" current" data inputs you can look at the-" current status" of your project. This can be used to forecast information on your project. By adding staffing and cost information, you can use Tell-A-Plan to review and estimate your project costs, and staffing needs. In conjunction with the Data Connection, Tell-A-Plan you can produce breakdowns of cost and other factors in several graphic for­mats.

In Tell-A-Plan you assign task numbers to each major task of your projects with a start date and end date (or the length that it will take to complete). You can also define the start date as dependent on the completion or partial comple­tion of another task or tasks. You can define subtasks to your tasks or subtasks. When you look at your planning chart. you have the option of looking at any level, consecutive levels or set of tasks at a time.

Data Connection Data Connection, on the IGM VAX. is an intergrated portfolio of tools

designed to solve your data access problems. It builds a link between Tell-A-Graf and many sources of data: report files, FORTRAN files, Cobal files, Data bases, and proprietary file formats. Tell-A-Graf commands can be passed along with your extracted data. The Data Connection manual contains information on each of the four tools: Report Connection, File Connection, External Program Connection, and Decision Support Connection. and also on how to access the data once you are in Tell-A-Graf. The manual is available from the Computer Services Library Rm. 1245 Bldg. SOB. To use the Report Connection type REPCON <cr> at the sys­tem prompt: $. To use the File Connection type FILCON <cr> at the system prompt: $. To use the Externaml Program Connection you need to link your pro­gram with the Tell-A-Graph library file: LINK <Your-program>. SYS_ USR2:[ GRAPHICS. TELLAGRAF. CONECTION] TAGLIB~LIB.

The Report Connection reads tabular reports stored in any format and extracts data and labels from them. It then transfers this information to Tell-A­Graf via the PRM file. The file types that are best suited to the Report Connection are print files (from data base management systems. report generators. and application programs). reports prepared on a word processor or personal com­puter that have been transferred to the IGM. or a file created by the system edi­tor (EDT/SOS).

The File Connection reads. selects, analyzes. and compares data from any data file with uniform record formats. The user specifies the format of the file. and tells the File Connection what data is to be extracted. For example a typical extraction command is "extract sales by day.". You can select records based on specific values in specific fields. select records based on a range of values. sum­merize records on one or more values. cross tabulate values, select one or more fields. or compute averages.

The External Program Connection is oriented toward programmers. It con­sists of two sets of FORTRAJ'J callable _subroutines that allow the programmer to store data and Tell-A-Graf commands in the PRM file.~ You can have your program so that it is linked with Tell-A-Graf interactively. or so that the data and/or com­mands are stored for later use to be used once in Tell-A-Graf. The two sets are the Bank Data utilities (for putting data in Tell-A-Graf format). and the String Building utilities (for storing Tell-A-Graf commands).

-3-

IGM Introduction ISSCO

The Decision Support Connection makes up the Calculate level of Tell-A-Graf. Decision Support Connection edits. modifies. and mathematically manipulates data before it is converted to graphic output. The features of the Decision Sup­port Connection include deriving new data. adding. subtracting. multiplying. dividing. applying functions such as square root. det.ermining trends. detrending data. calculating totals and averages. finding minima or maxima in data. prepar­ing financial models. removing positive or negative values. sorting data on one or more keys. selecting columns or rows to include or exclude. and printing the data for verification.

-4-

.\0

--100

roo

~ 100

~ 100

-100

100

LINE PWTS

I /

/

,,/', / //' /

// ' / // ,/

// ' / / 'J

100 I Lli I a a.1 I a.1 • 1.1 I

.usn

PJECHARTS

FIRST

legend A !!!I­x !!£.O£.

~ ~

....

BARCHARTS

UOOfi-------------------------------------

-100

.00

aoo

0' [«<l

ON[ TWO THR[E FOUR nVE .UB[L

PAGES OF TEXT

MINI COMPUTER PROFILE

DATA DIGITAL Manufaclurer GENERAL EQUIPMENT

Model Number NOVA 3/12 PDP 11/34 Operating Sys~em BLIS RSIS/E

Multi-Thrm inal yes yes Time Slicing no yes Record Layout yes yes Overlay yes no Paging yes yes

GENERAL AUTOMATION

440 MIS

yes yes yes yes no

• e o

'" . ...

C> <]

I I , J

I I I

C>' <]

.-

• e o c: & :; . ;:s ~

·1 O·

I I

C>!<]

I I

~ c: _ ~ -CD : 0 • (J) at U lei CD III 1M ::: ~

• e .g & ... o -<1. :::I

i o

C> <]

01><]

---I e .2

o

I ~ j o<]~<><]

• • c

~J <]

I

J

-~ ~ e o J:~ "'V :0 -... CI .s.: _e c:=

C"ooI ...

.. r . .. .... . ..

., , • c>' :<] t I t

• , I

[>l

OJ I , J

I I r

~

CO -<.0 -N -o -

N

o

N I

~ I

<.0 I

CO I

')

)

• 1-'

""0 il <{I w.

C -oJ ~.

Q) ~

~I ~I 0">0 Q) I-

--.J <J

~--------------------------------------------------~g -

~----~----~I----~I------~----~----~I-------I----~I 0 -o CO

o ""

o 0 0 0 0 0 0 ~ ~ • ~ N -

lN3J~3d

SALES VOLUME EASTERN AND WESTERN DISTRICTS

85.----------------------------.

80

75 _I .... .. .... . ......... . ............. . . .... ,' ..... .

70 -I . ......... . ..................... .

(/) 65 Z o -.J -.J ~ 60

55

50

45

40 ' r ( ( « <

MAR . APR MAY MONTH OF 1978

JUN

'j ~

Legend [22] WEST _ EAST

>-­L-o E E :::J

(()

o e-

U C o C

e-

lL.

en Q.)

o en

Charting Steps

step 1: start CUECHART . Here that is acomplished by typing CUE after the terminal prompt $. step 2: Select a "CUECHART" When you first enter CUECHART, a .Iist of available charts and their 10's are listed.

Step 3: Respond to Cues Once CUECHART knows what chart you will be using, it will cue you for the information it needs to complete the chari. After you are finished with a chart you can leave CUECHART by typing QUIT at the ' 'CHART 10' , prompt.

Step 4: Draw the Chart CUECHART saves the completed chart in a file named CUESAV.DAT. To get your chart plotted, use the procedure CUEZETA when you are out of CUECHART.

~

(/) L­o o o '+-o (/)

c o

o-

m

. ,-- '---' .

Eslim'ated Shipments & COlnbined Totals of t11eComputer Induslry

Growlh Rale 100 i Projections

.. , .... :.. i

....................... ,........ ..... . ......... . . . . ................. . .............. .

. . . . . . . ... . . . ...... '- . . . . . . . .. . . .. ,' ......... -.. .

........... ,..... ''':''1 ___ ..

· .' · . . . ~ 0

.. .... ... .: ... : ... : .... : ... 115

%

: : : -~-... .... ... .... ... . ............. : ... :.##:-- . ~.# 12 %

:--~ :_"' . . '- ~.,~ · # • .. . .. ,_ ..

. . . I

10·1 • . • • '::::; ••..•• ... ... ....LT: IMAINFRAMESm:t'H H' ••••••... H HH:HdH:HH~.125 %

........ ... .....: ············...T l ••••••• ·····]. .. J .... F . . ................

11 . . ,. ~. . ,. 440 % - '. ; ... ~ .... ; .~ T: . ...... : .... :.. ~.. r. . 0

......... ; ... ~ .... ; .. )' .. :......,:::..... ..:: ..... /~

... : •••. :..............;/ .. . .

.~~. . ..... : ...

01 t·' (. f , . - iii iii I I Iii 56 58 60 62 64 66 68 70 72 74 76 78 80 82

Years

---J

1977

~.-MICROS 1.4%

1982

~ MICROS 3.7%

TRADITIONAL LOOK

NEW HOUSE 1984

TASK ACTIVITY "MAY JUNE I JULY AUGUST ~EPTEMBE~ .3017 11412112814 111 118125 2 19116 2313016 113120127 3 110117 #

FOUNDATION .100

FRAMING I -,..

2001

ROOf 7 [c' / • 300. 1

T

INTERIOR .[L' / • ///>.1 I 400 -----_ ...... _--

~ LANDSCAPE I L/L/L/L LLA 500

"- . .. .. ---

- .. .--

--- ..

~

I

I n7J ')"{

C;--PLANjED.·1 ACTUAL ·-I~ 1?7?:7a~~~~~~:~~77?7222a ./.1&11..

',- ./

NEW HOUSE 1984

TASK ACTIVITY II MAY JUNE JULY AUGUST SEPTEMBER 3017 114 121 12814 111 118 125 2 J9 116 23130j6 113 120127 3 110 117 H ,

CLEAR 8 110 :

EXCAVATE EJ 120

CONCRETE I y

1301 - 200 1

fRAMING I BASE 310

SHINGLES .,

320 1'.

--- -.I .•

PLUMBING LL. 410 _I -

ELECTRICAL E//L/LEA J 420

PLYWOOD etzzzZl T 441

TILE ~ .. 442

CARPET r€J 443]

SHEETROCK lLLLLA r 4311

TAPE qJ 432

PAINT r@ 433 1

LANDSCAPE I V///// ~

500 n7J ?~

I PLANNED y . ACTUAL vzzzzaz~~::::~~2ZZZZZZa I 11&11.

,

ADDlAiG FIIJIINc', ... L Oil T/f

NEW HOUSE •

1984 STAFF $ DIRECT $ TOTAL ACTIVITY . APR MAY JUN . JUL AUG SEP VARIANCE VARIANCE COST

CLEAR 3 $3.211

EXCAVATE E1' $5.755

CONCRETE l'LLL $13.707

fRAMING y

/.' / / /1 $52.742

BASE ~ $13.547

SHINGLES § ... '. $11.345

PLUMBING §~ $8. 133

ELECTRICAL r////J $9.259

PLYWOOD § $7.551

TILE [f $1.538

CARPET JfI $3, 166

SHEETROCK. §T $4.449

TAPE J $1.312

PAINT ET $2.255

LANDSCAPE ~

$27.763 1////

U'CII.

"- .' ,_~I .. :....;

Vl L 0 --0

-0 '-t-0 Vl

-0 C 0 Vl :J 0

..c t-

NEW HOUSE

Cumulative earned value vs. total costs· 300 • •

250 -

200

/ 150 -

, " ,

100 -

50 -

o lce=- JUN JUL 1984

/0/0

" "

" " ,

AUG

,----- . .""

" , ,­,.

SEP I

Plan

Estimated

Actual

Earned value

(/)

c 0 (/) L

<l> 0..

't-0

• 0

Z

u.s/JUG i,)flTil C.ONIJIECT)()J..,..

Staff requirements by type .20 -r-----------------------.. ..

15 -

10

5--•

0--30 7 14 21 28

MAY J 1984

~. r •

NEW HOUSE

Staff type ~ CARPET INSTALLER (SJ PAINTERS e:3 ELECTRICIANS D PLUMOERS Gn ROOfERS ~ FRAMERS CJ MASONS EJ H.E. OPERATORS _ MANUAL LABORERS IL) fOREUAN

IGM

\ \.

Introduction PVI

Introduction to P.V.I. Packages

Precision Visuals' DI-3000. is a versatile. device-independent. all-purpose software tool package that anchors the other Precision Visual tools. Precision Visuals also offers several specialized packages of tools built on top of DI-3000: GRAFMAKER(including GRAFEASY). a presentation graphics system; GRAFMASTER, a "user-friendly" interactive package to generate both simple and sophisticated

. presentation graphics; the Contouring System. a specialized package for render­ing 3D data; and the Metafile System. a "picture library" with extensive capabili­ties for storing and manipulating graphics. All the above packages are currently available on the IGM VAX.

DI-3000 DI-3000 is based on the ACM/SIGGRAPH" CORE" recommended standard. and DI-3000 has been implemented in ANSI FORTRAN as a library of FORTRAN­callable subroutines. As a device-independent system. DI-3000 produces the same picture on any graphics display device. taking full advantage of all hardware features.

DI-3000 provides 2D and 3D primitives. color capability, graphic art quality text, general 3D projections (perspective, orthographic, and oblique view­ing), and polygon fill and patterning. DI-3000 is fully interactive. and con­tains the capability of dealing with image segments. that is. the ability to break up a picture into pieces and to be able to manipUlate them separately.

DI-3000 is available in two upwardly compatible levels. The standard pack­age is appropriate for both passive and interactive graphics applications that don't require a segmented graphics data structure. DI-3000 Extended. featuring retained segment capability. is designed for interactive applica­tions that use a segmented graphics data structure and PICKing. This level is also ideal for highly interactive environments that require dynamic mani­pUlation of images on a display device or world coordinate object modeling.

DI-3000 contains drivers for the AED 512, the Ilfl.AC Series n, the TEKTRONIX 4014 (4010 series), the TEKTRONIX 4105. the VT 125. the lIP 2647/2648. the Zeta 1453 plotter. the lIP 7221 plotter. the DICOMED D48C tUm recorder. the CALCOMP model 84 plotter, the TRILOG TIP-300 printer. the VERSATEC (V-80 and F-8000) plotter. the VT240/241. the mM PC. the TEKTRONIX 4114. the Line Printer. and a device-independent Metafile Generator and Translator.

Most 01-3000 programs have the same basic program structure. this pro­gram skeleton is shown on the next page:

- 1 -

lGlI lDtroduction PVI

Function Subroutine

--- Initialize System _--Initialize Graphics Derice

Select Graphics Device Change Defaults

JBEGIN JDINIT JDEVON JDCOLR. JDPEDG •.•.

Establish V'J.ewing Transformation Open Segment Jnsert Primitives Change Attributes Close Segment Pause Hew Frame Action

Deselect Graphics Derice ..... --Terminate Graphics Device

---Terminate System

JWlNDO. JVPORT •... JOPEN. JROPEN JDRAW, ••• JeOLOR. JPEDGE, ... JCLOSE,JRCLOS JPAUSE JFRAME

JDEVOF JDEND JEND

. The sequence of steps in most DI-3000 programs is the same. First, DI-3000 . .

is initialized and a graphics device is selected. Next, any default value that DI-3000 sets can be cbanged. Viewing parameters such as the window and Viewport can be altered to provide a different view of objects.

The innermost set of steps shown in the skeleton program defines an image On the graphics device. An object is defined by output primitives. the basic building blocks of a graphics program. 1'hese primitives generate such figures as lines. polygons. and text strings. The appearance of primitives is controlled by primitive attributes; these can change the color and fill style of a polygon. or the size and font of a text string.

Primitives are groupe4 into segments. each of which forms an image on a graphics device. A segment is the smallest part of an image which can be subsequently manipulate~ or modified. An application program may contain only one segment or several segments.

A segment is opened to generate an image on a device. While the segment is open. output primitives generate figures on a graphics device; attributes of these primitives can be changed. After an image has been generated. the program can pause and wait for user response. Or the segment can be closed. This complet.es the image that a segment generates. A new frame action can be called be~ween segments. clearing the display area of the dev­ice; a new image can be created. or parts of the old image can be redrawn.

-2-

IGM Introduction PVI

GRAFMAKER

GRAFMAKER is a set of FORTRAN-callable subroutines run on top of the 01-3000 for use in preparing pie charts. line graphs and bar graphs. using an extensive business graphics vocabulary (axes. titles. tick marks. legends. etc.).

The modular design of GRAFMAKER allows you to create graph skeletons. which can later be modified or enhanced to produce complex multichart pictures in any layout. Run-time control of many picture attributes allows quick previewing prior to hardcopy creation. using the Metatile System These libraries of pictures may be processed later using the Metatile Trans­lator. Standard charts of any design can be built and used over and over with periodically changing data sets.

With GRAFMAKER, you retain full use of 01-3000. including full graphics input and dynamic color changes.

GRAFEASY GRAFEASY. a set of FORTRAN-callable subroutines based on GRAFMAKER, allows you to generate charts with only a few calls. Relying on defaults set to popular values. you can define pie charts. line graphs. and bar charts with minimal effort. In GRAFEASY. picture space and chart space are identical. This means that you may have. at most. one chart per picture. GRAFEASY automatically sels the aspect ratio to use the maximum view surface of your device. You cannot mix GRAFMAKER and GRAFEASY calls within an application program because GRAFEASY uses a picture storage area that is not accessible to the user.

The typical procedure for producing GRAFMAKER or GRAFEASY pictures may be defined in six basic steps. Steps 4 and 5 may be repeated as often as you choose.

1. Access the data. Your data should be stored in arrays. 2. Design the picture. Select the chart types (pie chart. bar chart. or

line graph). 3. Define the picture by calling subroutines in GRAFEASY /GRAFMAKER, 4. Display the picture. 5. Refine the picture. if necessary. 6. Print or store the finished picture.

-3-

IGM Introduction PVI

GRAFMASTER GRAFMASTERis a "User-friendly" presentation graphics package. GRAFMAS­TER is designed wilh formatted screens, called "panels". This panel design

, . '

makes presentation, graphics easier for beginners and faster for experts'. Using the standardized' panel sets, each defining a different starting point for a graph (with on-line help information available at any panel), users can interactively creale, display and refine pictures on a wide variety of graph­ics output devices.

GRAFMASTER allows you to create an unlimited number of charts: line graphs. barcharts (hori.zontal. vertical. stacked. clustered). pie charts. word charts. and scattergrams. You can build. and save charts for later use. input data from keyboard qr disk tile. select text style ~d size. control axis and tick-mark. and also create m.etafiles for output to any of Precision Visu­als'supported graphics devices.

Graphics Device and Forms Device ConfigurationS Conceptually, GRAF'MASTER appears to work with two devices. The panels are displayed on the alph~numeric terminal by the forms manager. The pic­tures are displayed on the graphics device by the graphics device driver.

GRAF'MASTER is usable in four distinct hardware environments:

(1) The alphanumeric and graphics devices are the same device. Some ex­amples of this are the DECVT125. the VT240/241. or the TEK4105.

(2) The alphanumeric device and the graphics device connected to separate ports. For example. the VT100 is used as the alphanumeric device and" the CALCOMP Model 84 peri plotter is used as the graphics device.

(3) The graphics ,device connected to the host VAX computer and the forms device connected. in-line. to the graphics device (this configuration is currently not available in the user room).

(4) alphanumeric device only. The pictures generCited by GRAF'MASTER are saved in a Metafile picture library and retrieved at a later time for display on any graphics device.

GRAFMASTER will support any DJ-3000graphics device by using one of the above configurations.

GRAFMASTER supports four forms managers: the BBN Computer BitGRaph. the Hewlett-Packard 2623. the Ramtek 6211/621~. and lhe DEC VT125(or the VT100 look alikes). Only the VT100 (or the VT100 look alikes) is currently available in LBL.

-4-

IGM Introduction PVI

There are six basic steps to produce a GRAFMASTER picture.

1. Enter the System 2. Select the Picture Type. 3. Specify and Edit the Data. 4. Define the Picture (optional). 5. Draw the picture. 6. Save the Picture and Data.

CONTOURING SYS'TEM The Contouring System is a collection of FORTRAJ'J-callable routines that provides the capabilities to build attractive and detailed 2D and 3D contour maps with hidden line removal. with color till or patterning between adja­cent contour lines. ditTerent colors for the top and bottom of a 3D surface. and 3D axes with annotation. With the Contouring System you can generate contour maps from either gridded or randomly located data. You can easily make map-projection transformations. You can generate 3D views from any point in space. viewing from either above or below the surface. A rich and comprehensive set of options gives you complete control over the charac­teristics of your maps. Each option is set to a reasonable default. allowing easy generation of typical maps.

Direct calls to 01-3000 routines may be interspersed with contouring calls to add titling. request graphics input. and enable and disable debugging;

There are six basic steps used in producing a contouring map.

1. Define. set up the sizes of the array to be contoured. 2. Acquire data to be contoured through a user-defined procedure. 3. Initialize the DI-3000 and contouring System. 4. Set up any special options for the map. 5. Draw the contour map. then pause. 6. Terminate the DI-3000 system.

llETAF1LE SYSTEM(Metafile Generator and Metafile Translator) The Metafile System provides a method for storing DI-3000 graphical infor­mation in an external file. The Metafile Driver emulates a physical device driver; device independent output commands are written to a melafile. and picture information can be read from a metatile by an application program. The Metatile Translator is a post-processing program for melafiles lhat is independenl of 01-3000. Fourleen basic commands are supporled and pic­tures may be read from up to five melafiles concurrently. The Translator is simple to use by people with liltle programming background as well as

-5-

IGM Introduction PVI

experienced programmers. The entire Metatile System is very useful for storing frequently-used images. such as base maps or company logos. These images can be combined with other metafile images or used in a separate 01-3000 session.

More detail about the P .V.I. packages will be covered in later classes !!!!

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

For more information about the P.V.!. packages. please type :-

S HELP @GRAFHELP 013000

or ask the HF.LPDESK person at Bldg 50B/1232

Users Guides for the DI-3000. GRA.FMAKER(includingGRAFEASY). GRAFMAS­TF.R. and the Contouring System are in the Computation Department Library.

Contact Maggie Morley x5529 Bldg 50B/1245A

-6 ...

DESCRIPTION OF DI-3000 TEST PROGRAMS

--------------------------------------------------------------------

DI-3000 Test Program Number 1 --- TSTDOIF66 and TSTDOIF77

This program tests moves and draws in 2D. It changes the viewspace (JVSPAC) and the default primitive attributes. Debugging output is gen­erated to the default debug file (usually Logical Unit 6). One picture is gen­erated. The program pauses (JPAUSE) after the picture is drawn.

Output should appear the same on almost all devices. The picture is drawn using color number 6 (CYAN) on devices that support color. .

DI-3000 Test Program Numbe.r 2 -- TSTD02F66 and TSTD02F77

This program tests the hardware attributes of the device driver. Background color. polygon interior fill color. markers. linestyle. string-precision text. hardware text justification. size and font are all tested.

The program forces a viewspace aspect ratio of 0.5 (height to width). You may wish to call JASPEK to inquire from the device its true aspect ratio.

One picture is generated. Since the hardware capabilities of the device are being tested. the output will vary considerably among devices. depending on the availability of color and hardware text attributes. You should always run. this program against any new device driver.

DI-3000 Test Program Number 3 --- TSTD03F66 and TSTD03F77

This program tests the polygon interior style attribute in 2D and 3D. A 3D oblique perspective projection is defined to look ninside a cUbe". Color ras­ter devices should fill the polygonal areas using different colors. Mono­chromatic devices will simulate polygon fill using shading patterns. Some pen pLotters will use simulated shading patterns drawn in different colors.

The concave polygons may not be filled properly on some color raster dev­ices that can only- fill convex polygons. These devices will use their "best effortsn to fill the concave areas.

DI-3000 Test Program Number 4 --- TSTD04F66 and TSTD04F77

This program draws a simple 2D graph consisting of four damped sine curves. Each curve is drawn in a different color and linestyle. Markers are output at every fourth point along each curve.

Stroke quality text is used for all annotation. Text justification. size. gap and font are tested.

01-3000 Test Program Number 5 --- TSTD05F66 and TSTD05F77

This program generates a typical pie chart that might be generated for

- 1 -

business applications. It is particularly effective on color raster displays.

The output is 2D. Sectors of the pie chart are" exploded" and either filled with a hardware color or shaded. String-precision text is used for all anno­tation. Justification of string-precision text in the device driver is impor­tant for the pie chart to be "aesthetically pleasing". Labels for the sectors ~are outside of the sectors. with a dash pointing to the middle of the sector.

The use of string-precision text is important on interactive terminals over low bandwidth communications lines. The picture should come up quickly on such terminals. You may wish to use graphic arts quality text (JHTEXT) if you will be generating output to passive devices where quality is important.

DI-3000 Test Program Number 6 --- TSTD06F66 and TSTD06F77

The program tests medium and stroke quality text attributes in 2D. Base line. gap. path. justification .. and siz·e are tested;

This program is for ,test purposes only (Le .• it makes a poor demo). Ten pic­tures are generated with a pause action after each picture (i~e .. before the new frame action).

DI-3000 Test Program Nu.nlber 7 --- TSTD07F66 and TSTD07F77

This program tests all text attributes in'3D using graphic' arts qu~lity text.~ Character-precision and stroke-precision text are also used. Character margin (JMARGIN) and carriage return/line feed are also tested.

An oblique perspective projection is used to look insid~ of a text cube. Text is drawn on the back. right. and bottom faces of the cube. The boundaries of the cube are drawn using polyUnes.

DI-3000 Test Program Number 8 -- TSTD08F66 and TSTD08F77

This program tests multiple windows and viewports iil 2D. and the different etrects.that can be achieved by changing the window or viewport (e.g .. zoom­ing and panning).

Also. the use of multiple windows and viewports to define a "menu area" and a .. display area" in the same picture. is shown in this program. '

Four pictures are generated with a pause action after each picture.

DI-3000 Test Program Number 9 --- TSTD09F66 and TSTD09F77

This program tests the inquiry and debugging facilities of DI-3000. Virtual device number 1 is initialized and selected. but no graphics output is gen­erated.

The programs "OPENS" logical unit number 7 for writing the debug output from the inquiry calls. This is established by a call to,JFILES.

J1QDEV. JllGET. J3RGET. J4RGET. JI6GET. and JCP are called to inquire about ditrerent aspects of 01-3000. Dummy values are established for most

-2-

..

internal DI-3000 parameters by calling the attI"ibute setting and viewing subroutines. The inquiry output from JIQDEV is dependent on the device driver that is loaded with the program.

DI-3000 Test Program Number 10 --- TSTD10F66 and TSTDI0F77

This program tests DI-3000 error detection. Logical unit number 7 is "OPEN" ed as the error log file. The debug level is set to 5 so that all subrou­tine calls will provide some level of traceback. Both error messages and debugging are routed to unit 7.

The error fatality is set to 7 so that no errors will cause program termina­tion. The main function of this program is to verify that the variable format error file can be read.

This program generates no useful graphics output to the nominated display device. .

DI-3000 Test Program Number 11 --- TSTD11F66 and TSTD11F77

This program tests LOCATOR input from an interactive display device. The program will not run on passive devices. It also tests conversion virtual to world coordinates, a "menu area" and a "display area", and drawing outside of the window with clipping disabled.

The display area is split into thirds using dashed lines. The user can draw markers, rectangles or octagons in the three regions, respectively, of the display. Color is used extensively.

It most important aspect of this test is to verify that the LOCATOR device returns the proper values to the calling program.

You will be able to verify this since a marker is echoed by. the application program at the LOCATOR position

The program updates the LOCATOR echo position after each LOCATOR invoca­tion. Echoing may not be implemented in certain drivers.

This program generates a single picture, with the user adding markers, rec­tangles, and octagons to the display, until the "QUIT" label is identified by the LOCATOR.

DI-3000 Test Program Number 12 --- TSTD12F66 and TSTD12F77

This program uses LOCATOR input to read items from a menu. It will only run on interactive devices (the program inquires from the device if it has a LOCATOR and aborts if none is available.) LOCATOR echoing is used to pre­position the LOCATOR.

It· represents a typical interactive menu application implemented using DI-3000 level. without retained segments and picking. Test program number 15 is an equivalent program that uses picking to identify menu items. rather than the somewhat complicated logic necessary if using the LOCATOR.

The program is an excellent demonstration program for showing the

-3-

concepts of 3D viewing. The user modifies the viewing trans- formation parameters and then draws a unit cube centered at the. origin of world coor­dinates. The program uses some rather simple logic to determine which faces of the cube are visible. thereby simulating hidden surface processing. Color is used extensively when available.

DI-3000 Test Program Number 13 --- TSTD13F66 and TSTD13F77

This program tests the DI-3000 Hersey fonts. One character in each of the fonts is drawn. starting with font number 2. The program draws 21 different characters in all .. seven per line. The purpose of the test is to verify the access and correct reading of the font files.

DI-3000 Test Program Number 14 --- TSTD14F66 and TSTD14F77

This program tests the curve fitting subroutine JF2PLN. Six frames are pro­duced showing the same curve with several different tensions arc percents. The effect of changing the tension and arc percent parameters to JF2PLN is clearly shown.

DI-3000Extended Test ,Program Number 1-TSTXOIF66 and TSTX01F77

This program creates several retained segments in the four quadrants of the default viewspace. Inside a Batch-Of-Updates. selected segments are made invisible and purged.

Four pictures are generated with a pause after each. The output should be similar on all display devices. except· for the appearance of color and string-precision text. This is an important test program to verify that impli­cit new-frame actions occur properly (e.g .• at the end of a Batch-Of­Updates)..

The temporal order of the picture changes may vary among devices. depend­ing on the way that Batch-Of-Updates is implemented on the nominated dev­ice driver (e.g .. refresh devices may simply ignore the Batch-of-Updates). This program has been tailored for devices that "defer deletions" as the method of implementing a Batch-Of-Updates. '"

DI-3000 Extended Test Program Number 2 --- TSTX02F66 and TSTX02F77

This program is designed to run on interactive devices only. It uses PICK input items from a menu. The LOCATOR is then used to position objects in a display area. Color is used extensively. Batch-of-Updates. purging retained segments. and echoing are tested.

The use of relative primitives is shown as a mechanism for positioning "instances" of a master object in the picture area. In this sense tpe pro­gram is a good prototype for interactive computer .aided design programs.

Save and restore Segment Storage are used by this test program. The tile name of lhe Segment Storage save tUe is machine.,dependent and may need to be changed. The SAVE menu item must be picked before the RESTORE menu item may be picked.

-4-

-'.

1

DI-3000 Extended Test Program Number 3 --- TSTX03F66 and TSTX03F77

This program is functionally equivalent to DI-3000 test program number 12, except that PICK input is used instead of LOCATOR input to select items from a menu. The PICK logic is much simpler than the LOCATOR logic. The use of PICK-IDs is shown for defining individually selectable menu items.

This program exemplifies object viewing or manipulation. rather than computer-aided design.

DI-3000 Extended Test Program Number 4 --- TSTX04F66 and TSTX04F77

This program tests explicit image transformations (JT2TRA and JT2ALL). Three retained segments are created with different image transformation types. One. by one, the image transformation of each is changed to translate, rotate, and scale the respective segments. Each image transfor­mation change causes a new frame action. As such, four pictures are gen­erated. The image transformation of a clipped segment is also shown.

DI-3000 Extended Test Program Number 5 -- TSTX05F66 and TSrX05F77

This program tests the modeling transformation features of DI-3000. The faces of a cube are built from a single prototype face using modeling transformations. Hidden surface processing on convex polyhedra is shown.

Five pictures are generated.

D1-3000 Extended Test Program Number 6 -- TSrX06F66 and TSrX06F77

This program tests the use of LOCATOR echo to change the image transfor­mation of one or more segments implicitly. The program draws a menu and four objects.

The pictures and temporal dynamics of the program will vary considerably depending on the nominated display device. The program will run on interactive devices only. Color is used extensively. The method of prompt­ing is targeted toward color raster displays that can "undraw" an object by recreating it in the background color.

The program shows a method (not the only method) for continually changing an image using input functions and image transformations. Input echoes are used extensively. The button value returned by the LOCATOR and PICK devices has relevance.

Metafile Test Program Number 1 --- TSTIlOIF66 and TSTJ.{01F77

This program is very similar to DI-3000 test program number 2. The pro­gram has been changed to create a Metafile, rather than drawing the image to a display. The M:etanle is read by Metanle test program number 2. You must run this program before running the second test program.

-5-

Metafile Test Program. Number 2 --- TSTM02F66 and TSTM02F'77

This program reads the Metafile created in the first test program. Its output should be the same as DI-3000 test program number 2. The progra.'n shows the use of the DI-3000 Metafile read subroutines.

The source code for these programs may be copied to your directory by execut-ing the following instructions on the VAX-IGM (only) .

S 013 ( to define 01-3000 symbols ) S DITEST S COPY TST·F77.FOR sys_ USRn:[your directory]·. • S SET DEF SYS_ USRn:[your directory]

Then you may read the Fortran code. modify it. compile it and link it to run on any supported device.

To link a program to 01-3000 :

S DI3LOAD program. DRIVERCODE

To link a program to 01-3000 extended:

S 0I3~AD program. DRIVERCODEX

To link a program with 01;.3000 Metafile driver:

option) S DI3LOAD program. DRIVERCODE MY (also can link with X

(where DRIVERCODE can be AED for the AED512. or IML for the IMLAC. or T14 for the TEl( 4010 series. or 405 for the TEl( 4105. : .. ect. ) ,

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Users Guides for DI-3000 are in the Computation Department Library Contact Maggie Morley X5529

Bldg 50B/1245A

-6-

:~

..

(

(

..

He •• .,... C~'l&.' .. T __ - '"c.... __ ..... 0.-._

DI-3lZllZllZl

a...._ .. t ...

,. • ..,. • .. • • • • • • • CD I • I • ,. ..,. JC • .. • CD I • ,. • ..,. • ..,. • • .. . • • • • z .. • &:I • ,. •

FIgure B.1 T •• , Progtam 1

0..._ Mu: • = • T .....

...... ~.,.-_. s, •• 2

Size 3

Size

Size

Size Size

4

5 6 7

Ieol~· cs Fone

FIgure B.2 r •• , Program 2-rabl. Plott., Output

(

( PVI R."eR.' Sa, •• V.'~ . . ..... '

\

I ••• f .... ' .. ..

FIgura S..5.7 r .. , PfOfJram 5-FlIm Recorde, Output

\.

&.

-6.

. Flgute S." T •• , Program ..

(

PVI Regionol Soles Volume

.,"

..;./ NORTHEAST

""-WEST

( I SOUTHW~ST

1981 FIgure 8.5.2 T •• , prog,.m 5-Tabl. Plott., Output

~ ~ CII ~

T% ST ~~ .~ " ....

T ~ ,£ ~> ~ .... ~

~l. ItT- ~-I' ... ~~ I:. ..J "-.;

I L '" ~

v

~ tsJa gAf ~'9. ~ ~~ ~~ I'

" TSET £NIL £SAB SASE Ll"N£ T£ST Ta3T :3I-1I.J 321=1a ,sI=lSE ~INE TEST

E~ ~ S\; rI'~ 'tD ~'9 ;{} 1) ;s'(" .

~l. Lt (Jl

~') m <./':

~ tt ~ ,.. \e-fT . TEsr ~

M

~ ~ T

~ .... 1, .s~

-4 m (Jl -4

"- Figure B.!. 1 Te.t Program 6-Ba •• Line; Medium Quality Figure 8.6.2 T., 'Program I-B .. e Line; Stroh QU811ty

GAP TEST I 0.0)

GAP T EST . '0 . 5 )

GAP T EST I .. 0 )

G AP T EST , 1 0 5 ,

Flgu", B.I.3 ·T_' Program f-Gap: MN/um Quality

p U

~ T ~ f?

TFEL ~T~~ P~T~ ~IGHT ~ ~ T H

8 w N

Figure B.I.5 T •• , Program f-P.,": St,oh Quellty

G~p TEST ( O. 0)

" G ~. PTE S TO. 5)

G ~ PTE S T -1. o )

T EST .1 • 5 )

Flgu,. B.1.4 T.t Program f-Gap; Strolee QuaUty

.LEFT BOTTOM CENTE~.BOTTOM

~IGHT BOTTOM

LEFT CENTE~ CENTEI=<·CENTEI=<

~IGHT CENTE~

LEFT TOP CENT~ TOP

~IGHT TOp·

"gura B.I.I T_, Program l-Ju.tJn~tlO": Stroh Quellty

\ )

.\0

( SIZt TtST - STAOI([

• 2 1 .. , • • • •

.. , - M .. MU Nil

J .... M ... ML.I MJ.I

.. ...... MW MI..J MW

....... MLo.I MW 'MW

Figure B.6.1 Te.t Program 6-S/ze; Slroke Quellty

(

Figure B.8.1 Te., Program I-MuJUpJe Viewport.

,

"-.. ..,.r •• T •• t Font • "Owocl .. 1I0'9,n

STROKE S·"""D ••• O"' •••• --... C.", ..... '!'Pt ..... '. a..1t .lu.,.,.eat.lon

...) .. ""11 C.n,.r " .... Ule."o ..

",Il' " .... 'fle." ... I.", ... '

........ ' ••• f •• ,tf ...... , '" ~ . t() - ._. -.... -~ " ~~ .-. ......... '_. ~ \. Ii" - •.. ,-. .._.- ",-,,-. • c ___ ._ •• ,.· .,.-_ ..... ~~ ,

c ..... ·.c,.· "_.c..~, q, 0 C""D·OC'." .. o~,

" ()~

0 C"'oroc, ... ..... c,,,.-..o .... -Q,-- -~ S~r; ... ca .J"" ....... ~ .. ~Q"O~ -:. 1"1

Flgute B.1 Te.t Program 1

!EoOM eNG! e! H]M ING USING THE

WINDOW USING r .... e:

wlr-IOOW

pi II IPiS:;

Q",

I",

~~

Figure B.I.2 Te.t Program I-Zooming

(

(

l

USING, WINO

I-JNl.NGI

~G THE

MAAIC£litS

• •

MENU IOIC" ITE" ,I ,~

, IOICI< ITE" 2

IOIC" 'ITEIO 3

IIOICIC I~" 4 ~ IlOtCI( ITEM 5

I aICI( I~" 6

aIC" IT! .. ?

aIC_ I~" III I . '.

, FlgU" B.'.4 T .. , Prog,..m 8-Multlple WindoM .nd Vle.porta

DCTACCNS

I

.1_ ' I

" I '

II OUTS r CE.

OUTSrCE.

I

QUIT

USE L.OCAtOA TO OEFINE OB.1ECTS

'.,

(

(

• • I

I

t

I , • I

I'

" I I .. It

• 1

... · ••••

•••••• .o .... ~

.,_,.te".' · .... ," ,,, . '(. ••••• · w· 9' C' ••

.11 •• ".6_' · .·e" •• . ..

• -eLI' •• w .. C&. I' ... •• C" I. • r r

.-CLI. .r r

". C .. I' .r r ., ,.,. 01" ... D'.' .: II '. Ii • " • ~I II • 1., I I

I,i 11: 1.1 ! ': I_I

Flgur. 8.12 T •• , Prog,.m 12-b.mpl.

TEXT STRII'G I

T £ x T STRING 3

..

• • • • • • • • • • • • • • • • • • • •

TEXT 5m11'G I

TEXT STRII'G c

T I: X T S T R N G 3.

T I: X T S t R N G It •

TEXT STRII'G c

T I: X T STRING It

FIgure 8.73.3 btended T •• t Prog,.m 1-Thllft PIcture

(

(

~ S1RUG I

mer S1RIPG 2.

T£XT STR NO 3

T £ xT 5 T R NO ~

• · .. I · •••• • · ., .... I · •• aca"

• · •••• -cc, •• , , · ••• ..... c~ • · •• c. .... , • · liP .ee t ••

• .,e .. "I.._' t· • •• el. I. ,.

ot •• C .. lIP too

II "~c ... ,, ,. "

.. , .. ,,, , .. II .·e" I It .rr "

.. -e .. t. 0"

" · _. '.r_ 01"

" · ••• ""

_.-t ............... ...,!

o~

EB EB

.~.~ 83 EBoo

--, ...... -.-. .... !

FlfJure1l.1tS.1 &tMd«l r •• , Prog,.m 4-Plcture 1

l.-_____ ....;.. ___ .....JFlfJure B.15.3 Eziettded r .. , Prog,.m 4-l'fcture 3 "'--' .. _-....;..-----

\.

..

(

,.

Rgu,. B.17.1 Ext.ndH T •• t Prog,.m 5-Plctu,. 1 Rgu,. B.17.2 Extended Tat Prog,.m 5-Plctu,. 2

(

Rgu,. B.11.3 &I.ndH T •• t Prog,.m 5-Plctu,. 3 Rgu,. S.11.4 &I.ndH T •• t Prog,.m S-Pfcture 4

Rgu,. B.11.5 ExtendH T.t Prog,.m 5-Plctu,. 5

..

DESCRIPTION OF TEST PROGRAMS FOR GRAFEASY AND GRAFMAKER

--------------------------------------------------------------------------------------------------------------

GRAFEASY Test Program 1 --- EZTSTIF66 and EZTSTIF77

A simple vertical bar chart.

GRAFEASY Test Program 2 --- EZ'tST2F66 and EZTST2F77

A simple line graph with markers.

GRAFEASY Test Program 3 --- tlTS1'3F66 and EZ'tST3F77

A simple pie chart with exploded segments - no text.

GRAFEASY Test Program 4- --- EZ'l"ST4-F66 and EZTST4-F77

Two vertical bar charts (absolute and additive).

GRAFF.ASY Test Program 5 --- EZTST5F66 and E1.'l"S1'5F77

A line graph with multiple data sets~

GRAFEASY Test Program 6 --- .EZTST6F66 and :t;LTSl'6F77

A pie chart with non-default formats for quantities and percents.

GRAFEASY Test Program 7 --- EI'Zl"St'7F66 and EZTST7F77

A simple line graph with lines and markers.

GRAFMAKER Test Program 1--- TF.Sr01F66 and TEST01F77

Program to test Y = f(X) type graphing operation.

GRAFMAKER Test Program 2 --- TEST02F66 andTEST02F77

Build a line graph - view after partial completion and at the end .

GRAFMAKER Test Program 3 --- TEST03F66 and TEST03F77

Filled line graph - three dependent data curves - slanted horizontal tick labels - legend position.

GRAFMAKER Test Program 4- --- TESl'04F66 and TESl'04F77

Stacked vertical bars - color/pattern.

- 1 -

GRAFMAKER Test Program 5 --- TEST05F66 and TEST05F77

Stacked horizontal bars.

GRAFMAKER Test Program 6 --- TEST06F66 and TEST06F77

Horizontal bar chart with four sets of dependent data, each with the bats' description and legend entry.

GRAFMAKER Test Program 7 --- TEST07F66 and TEST07F77

Single pie chart,. no text.

GRAFMAKER Test Program 8 -- TEST08F66 and TEST08F77

Single pie chart with text {title, labels, note}.

GRAFMAKER Test Program· 9 ---TEST09F66 and TEST09F77

Double pie charts .. four index numbers for text attributes.

GRAFMAKER Test Program 10 -- TESrl0F66 and TESrl0F77

Plots a line graph, then selects a section of that line to magnify in another chart within the same picture.

GRAFMAKER Test Program 11 -- TESrl1F66 and TESl"11F77

Bar chart and Pie chart boxed in same picture.

GRAFMAKER Test Program 12 -- TEST12F66 and TEST12F77

Multi-curve Bar graph with two vertical axes, one curve associated with each.

The source code for these programs may be copied to your directory by executing the following instructions on the VAX-IG~ {only}.

S 013 ( to define 01-3000 symbols ) S GKTEST S COPY TEST·F77.FOR SYS_ USRn:[your directory]·. • or

S COPY EZTST·F77.FOR SYS_ USRn:[your directory]·. • S SET DEF SYS_ USRn:[your directory] .

Then you may read the Fortran code, modify it, compile it and link it to run on any supported device.

To link a pro·gram to GRAFEASY or GRAFMAKER:

S 0I3LOAD program GK DRIVERCODE

-2-

..

..

(where DRIVER CODE can be AED for the AED512. or IML for the IMLAC. or T14 for the TEK 40 10 series. or 405 for the TEK 4105 ... , etc. )

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Users Guides for GRAFMAKER are in the Computation Department Library Contact Maggie Morley X5529

Bldg 50B/1245A

-3-

..

SAMPLE OUTPUT FROM THE TEST PROGRAMS

0 -0 Q

c: u

'U c: • Q.

• Q

0 -0 Q

c: v. 'U c: • Q. U

Q

to. --g. --8. --7. --5. -

-5. --4. --l. --2. --t. --O.

10.

9.

S.

7.

5.

5.

4 .

l .

2.

1.

O.

Vertical Bar Chart

1.0 2.0 l.O

Independent Data , ,~

. FIgure 1 GRAFEASY Test Program 1

''-l

\r­Line Graph

4.0

O. 1. 2. l. 4 .. 5. 8. 7. S. 9. 10.

Independent Data

FIgure 2 GRAFEASY Test Program 2

(

~-

(

..

Pie With Exploded Segments

F!gure 3 GRAFEASY re.t Prog18m 3 .

Norris Corporotion Regional Sales

4.0

3.5

Figures in

North South East

Billions

Product Groups IDID Automotive e=::=! Electronic ~ Construction

West

Rgu18.fa GRAFEASY re.' Prog18m 4

Norris Corporation Regional Sales

6.0

5.5

5.0

<4>.5

4.0

3.5

3.0

2.5

2.0

1.5

1.0

0.5

Product Groups a:IIDAutomotive ~ Electronic ~ Construction

0.0 ~~~~~----~~~~----~~~~--~~ .. ~--North South East West

Figures in Billions

. FIgure 4" GRAFEASY Test Program 4

METRANS CORPORATION

10.

9. LEG EN D

en s. -8udget c: - - Actual 0 7. -.-:: 6.

" c: 5. - -"- /' "- /' en 4. --- -- -cu

~

:::l .:5. 01 .-

u.. 2.

1 •

o. J F M A M .J J A S 0 N 0

1982

Figure 5 GRAFEASY Te.t Program 5

..

(10.

1-~

I '. \,~

)

Main Project 3.2 -

35.6~

CAl L Y ACTIVIT I ES "

Meet with Supervisor 1.0

11.1 ~ I

/

Answer Questions 1.6

17 .8~

Supervi~e Workers 1.2 13.3~

Second Project _0.5

"

5.6~

Other 1.5 16.77.

FIgure 6 GRAFEASY T •• ' Program 6

Line Graph with Lines and Markers

10.

9.

B. 0 • • • - 7. .... • ~ 0

C ""tI 6. -c: S. ........ ----Q) -- - -- -- -" .....

c: 4. .....

Q)

0-Q) 3. x x x

C x x x x 2. x x

1.

O.

O. 1- 2. 3. 4. S. 6. 7. 8. 9. 10.

"Independent Data

FIgure 7 GRAFEASY Te.t Program 7

MPL - NET PREMIUMS L:JRITTEN (FlNNUFlLI2ED.· $Ml

225.

200.

175. -TCT~L

150.

125.

100.

75.

50 •

. 25.

1977 1978 1979 1980 1981 1982 1983

F1guI'fI 28 GRAFMAKER Test Program 2

(~

(r

G

S 0 (J

a --«I C 0 OJ ... G Q" -0

.-C 41 (J ... 41 a..

MPL - NET PREMIUMS ~RITTEN CANNUALI:ED. .M)

225.

200. -TOTt=lL - - AUTO

175. - - 1-40MEOI.INEt=I

150.

125.

100.

75.

50.

25.

1977 197B 1979 19BO 1981 19B2 1983

FIgure 2b GRAFMAKER T •• , Program 2

Personal Income Other Than

Wages and Salaries ",s.

",0.

3S.

30.

2S .

20.

cs.m Public assistance rz.zz2 Social insurance ~ All other nonwage income

FIgure 3 GRAFMAKER T •• , Program 3

30.

27.

24.

21.

18.

15.

12.

9.

6.

3.

o. 2.0 3.0 4.0 5.0

FIgure .. GRAFMAKER Test Program ..

. ...~,

Average Compensation of Chief Execu tive Officers

by size of firm

number of employees Compensation ~ Fringe Benefits I2ZZ2'2 5 al ary

Up to 50

51-500

501-1000

1001-5000

Over 5000

average total dollars earned

FIgure 5 GRAFMAKER Teat Program 5

) ~.

~)

Change in Consumer Prices Years

C ~ 1960-1965

~ EZ:'.1Zl 1965-1970 United States ~ 1970-1975

Canada ~ ~ 1975-1983

United Kingdom ~

.• Belgium

Sweden

Netherlands ~

Italy ~

West Germany

France ~

Japan I I I I I I I

o. 2. 4. 6. 8. 10. 12. 14. Average annual percent change

Figure 6 GRAFMAKER T •• , Program 6

. F1gure 7 GRAFMAKER T •• t Program 7

ACC Regional Sales Volume (SOO.OOO)

Midwest

,"\ $41.7 ....... '. ,,19,4'-: "

Mideast $,34.3 '~.9l11:

.. Mountain lj~I;~ $~.S -~

2.nC

Northwest $20.~ 9.~lII:

I Southweet

$26 .... 12.3'-:

Sauth 19.7 "'.5'-:

.,/

Nortl'leaet $30.2 1 "'.Olll:

West $46.9 21.S:;

~pcnld by ~cision Visuols. Inc.

, . .}1

"

, )

Rgure 8 GRAFMAKER Test Program 8 ',,-

Distribution of INDUSTRIAL ENERGY USE

in the U.S. and W.Germany (BUllons ot Btuts/Month)

~ m:a:tlP'''' c::::::I "'-_ c:c::s::I CfwIrF .... . cz:z:z::a,. ... ' ..... c.. 1!!!5!1 c.o _ __ o.c. m:I:lI ......

71.8 r.I'llZII ou-- ................ .o4Q.S 2&0

.... 1.Q

/ 1C1l.4

-82.0

United States

18.3

I 87.1

---==_1"'8

- 27.S

W.Germany

Figure 9 (;RAFMAKER Teat Program 9

((

I,. (-)

WEEKLY BUSINESS INDICATOR ocr '78 - 100.0

,~. ~------------------------------~

,=.~------------------------------~

,~.~~~~------------------------~

I ~. ~ ________ ~3C~~ __ ~"~~~~~

N

~ ~ ~------------------------------~ x ~ ~------------------------------~

=. ~------------------------------~ ~ . . OCT

JASONDJ'WAWJJASONDJ'WAWJJASOND .,. '80 .. ,

FIgure 10 GRAFMAKER T •• t Program 10

The Cable TV Market

2/79 bftuua bJ' corDpII.DJ' "' ....... tII_

9/79 uc Corp. 13fJ.3

2/80 Cobleview

9/BO $4?S1 ,. Televi_

2/B1 IU().6-Videosync

9/B1 1/5.0

2/82

9/B.2 Tel-Com

2/8.3 ~.3

9/B3

0 2000 4000 6000 BOOO

17lolUaDcU ", lUo.:n~

FIgure 11 GRAFMAKER Te.1 Progfflm 11

'. :. . { •• ,' I~ r--.. !FINANCIAL HIGHLIGHTSI

., G ::3 c: t.3OOO G > G a::

'2000 0" .5 -o 'i '1000

Q. o

---------~:q..-

., E o

'120 u .5 -'80 :!

, 0

~--------------------------------~,~ '78 '79 '80 '81 '82 '8.3 '84

Rgure 12 GRAFMAKER Test Program 12 . '\ I --

,.,

'I'-

'.

.I

You Can Make Charts Like These With GRAFMASTER

GAAFMASTEA allows you to c~eate an unli:r.i:ed nurnber 01 charts You use comblnaM:'1s of parlels to define a chart that will best express your data. Here are exarnoies 01 some 01 the charts that can be made with GRAFMASTER

I.

'0

Y 1

• • I 1

" o • , , I

• • •

Personal Income Other Tnan woqes Q"a SOia,.;.,

.. .. "ec,s

"-t:bOll to Senalor Snale's Politics

~

~

-= . .. . . .... -"--

Favorile Garden Vegetables II, q"""'i,, ,.,.,., ..

--.... .... , "". · • I-· · ., .. · · ,-. I · .' .. ....

'00 .eo •

. Carrots

21 .• ~

Seans 7.e~

P .... 1ItrI ... Train.. .... Bu.ID ... ~, Valu ..

." ,.

.. :-... -.

_. e ••

.- -- -........... -- ... - -

U, S. Cruce :,11 ~ c ~rc '!'S

• c::::I ;o-•••. c

. : ..

c::::I. ~,.., a_ •• CO" _ ',' "II'. [CI.' •• '"

,. '; 'S ,. ~

Veors

CRAF!>IASTER

Pr ••• nt..Uon Graphics S,..t~rn

• r •• " fO' "' ••

• ......... _.. ..... ~I s •••••••

_ '.'.--01.. c:.,........ Oev... Sw .....

_ Ow'.v' to ~, ..... ,u ••

• C ••• -C ........ G ....... .

GRAFMASTER Cnarts 1

To enter GRAFMASTER do:

SGM

The following p~nelwill appear on your (VT 100 compatible) terminal.

Panel-Graf

Picture Types

GRA~MASTER s Panel-Graf is a pa~el-:ri\'e~ 5ysle".... that yOu use to produce presentation graphics. ThiS mears t"at you use a formatted screen or 'pane!" to inter:ct with G~':"F~.!:ASTER Eac~ panel is divided into three areas the Status Area, the Picture Design Area, and the Command Area

Status Are.

Picture Are.

Area

You select your picture type on the START GRAHt.ASTER panel This figure associates Indll.'i:;1ua: charts with their GRAFMASTER picture type,

•".,---- --.~--.-: I

, :~

.. _._. r ~ -, ,

e. _ • • • • • ... , -- --

0:' ..... . .

... - - ---~- .. -

'l:';:-..'~ ',' _ ....

---------

GRAfMASTER Ch8rtS

(

','

DESCRIPTION OF CONTOURING EXAMPLE PROGRAMS

------------------------------------------------------------------------------------

There are eight example. programs which require input files FOROO1.DAT (processed gridded data), FOR002.DAT (randomly located data), FOR003.DAT (gridded test data), FOR007.DAT (options selection), and FOROOS.DAT (axis input data). Fortran for the routines which read the input files and routines used in drawing 3D axes are in CONSUPP.FOR

The eight test programs are:

CDSHTSf

Demonstrates the smoothing dashed line patterns available.

C1TSf

Illustrates contouring done on a 'cell-by-cell' basis, with all contour lines being drawn in each cell before going to the next cell.

C2TSf

Uses a 'follow the line' contouring algorithm and the soft.ware dashed line system.

CGRDTST

Produces no graphics output, and may be run on any terminal.

C3TST

Tests contouring of the gridded data and contours only to the convex hull defined by the raw data. It has provision for triagulation lines to be drawn and annotation of the raw input points.

CM1TSf

Tests the drawing of mesh surfaces.

CAXTSf

Tests the drawing of axes.

CAXDF:MO Interactively tests the drawing of axes.

- 1 -

" <

,fQ"irliri these programs onyour selected device

(1) Move the CONTOURING test files to your directory space

S 013 (To define 013000 symbols) S CNTEST (To set default to the CONTOUR test directory) S COPY C-.- SYS_USRn:[your directory]-~-S COPY FOR-.DAT SYS_ USRn:[your directory] -. - ' S SET DEF SYS_ USRn:[yo,tir directory]

(2) Compile - Link - Run (To run CDSHTST on the IMLAC for instance)

S FOR CDSHTST S 0I3LOAD CDSHTST IML CN S RUN CDSHTST

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Users Guides for GRA.FMASTER are in the Computation Department Library Contact Maggie Morley X5529

Bldg 50B/1245A

- 2-

j , -' Ji

,... .... c ~

-...... --• -J

Hard~opy Devices

There are many ways to get a hardcopy of YOUl" graphic output. The various devices available from lhe Computer Center to do so are listed below. The Com­puter Center may accommodate other device upon requesL

Line Printer Tektronix 4631 printer Tektronix 4695 printer

ZETA 1453 4-color pen plotter Zl:."TA 3600 4-color pen plotter

CALCOMP Model 64 B-color pen plotter Varian 9211 electrostatic plotter

VERSA7EC V-80 electrostatic plotter DlCOMED D48C tUm recorder

Also supported by Computing Services are plotters in TID;

ZETA 8 8-color pen ptotter ZLTA 1453 4-color .pen plotter

TEKTRONIX 4831

..

The Tektronix 4631 (TJ< 4631) copier provides permanent hardcopy, 8* x 11 inches on 3M dry silver-type paper, copies of the terminal screen. The default image produced is 6" square, centered, and oriented with top to bot­tom along the 11" dimension of the page. There are two TK 4631's located in the GraphiCS User area. They are connected to the Tektronix 4014 terminals and lhe Imlac Series II t.erminal, respectively.

TEKTRONIX 4695 The Tektronix 4695 copier is an ink-jet printer capable of producing a full rar:ge of colors by mixing the four ink colors (red, green, blue and black). Like the TK 4631 il makes a copy of the lerminal screen. The image pro­duced is approximately B" square and has top to botlom orientation along lhe long edge. The TK 4695 reverses the background color of the image: the black of the screen becomes white on the hardcopy. The TK 4695 is con­nected to the Tektronix 4105 color terminal in the Graphics User room.

ZETA-8 Th(; ZETA Model B is a digital drum ploUer attached to TID's VAX. It is a vec­tor device with a resolution of 0.001 inches. There are several types of pens and papers that can be used on the Zeta 1453. The defaults are B colored liquid roller pens (black, red. green. blue, cyan, yellow. magenta, and optional) liquid roller pens on translucent white paper. DitTerent pen types can be requested (relt. nylon lip. or acelate film pens) when you submil your plot. as well asditTerent paper types: B!i x ll-inch fanfold, kromokote

-1-

All VAX Hardcopy Devices

(a high bond glossy paper), and Acetate film, (for viewgraphs). The paper is in a sprocketed roll form that is moved under the pens. The type of pen that works best with the paper type you choose will be used by default. The :~!ottingarea is 11 inches in the Y direction and 144 feet in the X direction. The Zeta 8 is located in TID's area, and can be accessed from the IGM VAX through TIDSEND.

ZETA-1453 The ZETA Model 14-53SX is a digital drum plotter attached to the IGM.VAX. It is a. vector device with a resolution of 0.001 inches. There are several types or pens and papers that can. be used on the Zeta 1453. The defaults are 4 colored liquid roller pens (black, red, green, and blue) Liquid roller pens on translucent white paper. Different pen types can be requested (felt. nylon tip, or acetate fUm pens ) when you submit your plot, as well as d..itrerent pape:- types: 8* x ll-inch fanfold. 1cromokote (a high bond glossy paper). and Acetate film, (for viewgraphs). The paper is in a sprocketed roll form that is move d under the pens.· The type of pen that works best with the paper type you choose will be used by default~ The plotting area is 11 inches in the Y direction and 144 feet in the X direction. There are two Zeta 1453s; one in the operations area and the other in TID's area. The ZETA 1453 is accessed from the IGM VAX through PLOTSEND, CUEZETA.. and TIDSEND.

Zf.i"A-3600

The ZETA-3600 plotter is a an incremental pen plotter like the ZETA-1453 above. It also is a vector device with an addressabilty of 400 steps per inch. The dimensions of the ZETA-3600are 34 inches in the Y direction. and 120 feet in the X direction. Like the ZETA-1453, it has 4 liquid roller pens. and uses translucent white paper. there are, no other pen or paper types avail­able. At the present time the ZETA-3600 can only be accessed from the CDC 6000. but should be accessible from the IGM VAX by December. It is located in the operations area.

CALCOMP MODElr64 The Calcomp is atlat-bed plotter connected to the IGM VAX. It has 8 colored liquid roller pens (black. red. green. blue. magenta. yellow. cyan. and White). The CaicompM84 is a vector device with a resolution of O.lmm. The Cal­camp uses 8* x 11 inch sheet paper. and has a plotting area of 8.12 x 10.55. Because it uses sheet paper. only one plot can be produced ata lime. The Calcomp has been set up for user operation through the procedure CALCOMP_PLOT. It is located in the Graphics User room.

BENSON VARIAN-9211 The Varian-9211 piotter is aneieclrostatic plolter on the IGM VAX. Using a raster image. the Varian applies an electrostatic charge in order to deposil a black loner on the paper instead of using pens as wilh the ZETA plotters. The Varian is used for fairly high-quality monochromatic pictures with a quick turnaround. The ploUing area available is 10.5 inches in the Y direc­lion and 54.5 feel in the X direction. It has a resolution of 200 points per inch. Currently all lhe Varian plots are generated on the CDC 6600, but plots should be able to be generated on the IGM VAX by December. The Varian plolter is localed in the operations area.

-2-

All VAX Hardcopy Devices

VERSATECV-80 The Versatec is an electrostatic printer on the UNX3 machine. It is used. primarily. as a text editing preview device. The Versatec V-80 has a resolu­tion of 200 points per inch and outputs up to 1000 continuous fan-fold type 8~ x 11 inch paper sheets. Currently tbeoutput for the Varian goes through qrotf. It is located in the operations area.

DlC01lED D48C The Dicomed is a high resolution. grey-level film recorder. Color pictures are produced by use of color filters. There are seven color tilters in all (red. green. yellow. blue. magenta. cyan. and neutral) which can "Create almost any color. The Dicomed can use various types or .. film. including 35mm. 16mm. microfiche.4x5 inch sheet. or Polaroid. It can be used as either a vector drawing or raster device. The addressability is 32.000 by 32,000 with a resolution of 4.000 by 4.000. The Dicomed is accessed by using the pro­cedure DICOMED. Since the Dicomed in not on line to any IGM, turnaround time is a little longer than other hardcopy devices. It. is located in the operations area.

-3-

. ,

\ \

CALCOMP _PLOT

Tbis command proce~ure sends tbe user named data tile or the default data tile -FOROI6.DAr to tbeCALCOMP plotter for plotting. Preparation instructions are printed on tbe screen to instruct tbe user to set up tbe CALCOMP for plotting. The (allowing is wbat appears on the screen. The CALCOMP dialogue is in bold and tbe user's responses are in italic. Any comments are in normal type. The sym­bol <CR> specifies tbe carriage return key. User responses can be in upper or lower case ..

Do you want explanation of this procedure? (YIN) : Y <CR>

••••••••••••••••••••••••••••••••••

This is a procedure for the CALCOIIP plotter user who wants to draw charts (as created by the CALCOKP dri:ver) on the Users' Graphics Center CALCOIIP plotter. model 84:. (8 pen colors and a default page layout of 8.11- vertical by 10.55'" horizontal) which is located in room 1237. 1st door of 50B

CALCOMP _ PLOT - defines your use of the CALCOIIP at the Users' Graphics Center, such that you can send your data tile to the CALCOIIP plotter. Only onc plot can be sent to the CALCOIIP at a time.

You can exit from CALCOIlP_PLOT any time by typing CTRL-Y .

•••••••••••••••••••••••••••••••••• Did you rename the output tile for CALCOIIP plotter? (Y IN): N<CR>

If you bad enlered Y <CR> ins lead, then you would get the follow­illg:

Name the tile to be plotted :filena.me .ext <CR>

Note: If instead of entering the file name you enter just a <CR>, you will be asked if the file name is the default tile name:

Is F'OR016.DAT the file you want plotted? (YIN):

If you answer no you will be asked for tbe file name again.

-1-

IGM Procedures

#"""""'~""##"###II#I"##6# (1) Make sure the.CALCOMP is on! (2) Toggle the READY switch. (3) Put a sheet of paper on the plotter.

(Paper must be aligned to the left. side. next. to pen stalls and must rest on bottom alignment ridge).

(4) Press" CHAR'1 button. (5) Press "PLOT button.

###,##'###1####"'11111##1#11###1'

Hit return when you are: ready <CR>

#"'######1'6"""""11"1'#1###

Procedure CALC01lP _PLOT is finished.

When your current plot completed. do as fonowing:

(1) Press "PLOl button. (2) Press" CHARr button. (3) Remove your ploL

You have just finished a lovely plot. bye!!!

##########I##I#I#I#####II#"I"~II

The Collowingerror messages can occur:

'~AME' was not found in your directory! If you want to ent from CALCOMP __ PLOT. type CTRL-Y.

Calcomp-Plot

###########,#,####"##############

»> PLOT INTERRUPTED - Procedure CALCOMP _PLOT is finished..

When your current plot completed. do as following :

(1) Press "PLQ'r' button. (2) Press" CHAR'r' button. (3) Remove your plot.

"""""""",#"""""##J,,,

-2-

.'

IGM Procedures Caicomp-Plot

CALCOMP _PLOT

A typical session might go as follows. The CALCOMP dialogue is in bold and the user's responses are in italic. Any comments are in normal type. The symbol <CR> specifies the carriage return key.

Do you want explanation of this procedure? (YIN) : N <ell>

Did you rename the output file for CALCOKP plotter? (YIN): N<Cll>

###########1#####611#1##11###"#"

(1) ·)lake sure the CALCOllP is on ! (2) Toggle the READY switch. (3) Put a sheet of paper on the plotter. (4) Press "C'HART" button. (5) Press ·PJ..O'r" button.

##3#6##################611##61#6#1

Hit return when you are ready <Cll>

#####################1##1116#116##

Procedure CALCOKP _ PLOT is dnisbed.

When your current plot completed. do as fOllowing :

(l) Press • PLOT' butt-on. (2) Press" CHARl button. (3) Remove your plot.

You have just finished a lovely plol, bye!!!

######6###1#############11###11###

-3-

. .,

JGM Procedures

CUEZETA The following is what will happen when you type CUEZETA. What CUE ZETA prints on the screen is in bold and the user's responses are in italic. Any comments are in normal type. The symbol <CR> specifies a carriage return key.

Do you want explanation of this procedure? (YIN): Y <Cll> • • • • • • • • • • • • • • • • • • • • •

This is a procedure for the CUECHART user who wants to draw charts (as created by CUECHART) on the CompulerCenterZeta plotter~ model 1453. (4 pen colors and a default page layOut of 8.S"verticai by 11.0- horizontal)

which is located in the operations area. 1st ftoor of SOB.

To accomplish t.his you will be sent througb two lower level procedures: The 1st procedure is called TElJ..AGRAF.

, It. creates a me in yOur directory called CUE'ZlO£TA.DAT. which defines the Zeta plotter drawing iJlstructions for your plots~

The 2nd procedure is called PLOTSEND. It detines your use of the ZETA at at the Computer Center. such that. an operator there can run the Zeta plotter for you. and label yOur plots.

• • • • • • • • • • • • • • • • • • • • •

Did you rename the output tile from CUECHART? (Y IN): N <Cll>

Note: If instead you had entered Y <Cll> the following would be printed:

Name the me from CUECHART that is to be plotted: filename <Cll>

Note: If inslead of entering the file Dame you enter just a <CR>. then you will be asked:

ls CUESA V.DAT the tile you want plotted? (YIN):

If you reply no Lhen you will be asked for the file name again.

TELL-A-GRAF is nmning noW'. Enter nothing on SPECIFY FILES: Be patient and wait for END OF TELL-A-GRAF. The terminal may appear stuck on SPECIFY ~:, but it is actually creating the draWing inslructions for your plots as you described them with CUECHART, and writing these instructions for the Zeta on tile CUEZETA.DAT

-4-

1

IGM Procedures Cuezeta

After TELLAGRAF has finished. any work rues that were created for its use are deleled.

You are now enlering the last procedure. called PLOTSEND,:"~, which provides information for the Zeta plotter operator.

PLOTSEND procedure:

\ \

At this point you will get the dialogue for the PLOTSEND procedure. The only difi'erence is that you will not be asked for the rue name, as it is passed to PLOTSEND by this program.

You have completed the last procedure within CUE.. ZETA.

You will find file CUEZETA.DAT.version number in the directory in which you are now working. If 'pLOTSEND says it has queued your plot me. then you may delete it ONLY AFTER you receive 1IAIL from PLOTSEND.

Your plots are in a cue waiting for operator action on the ZETA. Check at the 110 desk for your plots.

Procedure CUE... ZETA is 1lnished. BYE!

-5-

IGM Procedures Cuezeta

C~A

A typical session mighl go as follows. What CUEZETA prints on the screen is in bold and the user's responses are in italic. Any commenls are in normal tYP,e. The symbol <CR> specifies a carriage relurn key.

Do you want eXplanation of this procedure? (Y IN): N <Cll>

Did you rename the output tile from CUECHART? (YIN): N <Cll>

TELL-A-GRAF is MJnning now. Enter nothiDg on SPlSCD*t FILES:

You are now entering thc last procedure. calledPLOTSEND. which provides information for the Zeta plotter operator.

-PLOTSEND procedure:

Queues a tile or group of rues for processing on the plotter.

Do you want further explanation? {yIn}: N<CR>

Your full name: Tom. Jones<CR>

Do you ~t to specify speciaJinstructions? {yIn}: N <Cll>

Routing in!ormalion or remarks (one line max. enter c:arriage return if none) :<CR>

PLOTSEND WORK ORDER

Time of order: Login name: l'ull name: Account: Machine: Plotter:

Special insrt;

Rout/remarks:

rUes:

15';;June-1984 12:20:40.46 Jones Tom Jones 123456 IG.II ZETA 1453SX

_ DRDO:[ JONES]CUEZETA.DAT.l

OK? (yIn): Y<CR>

-6-

..

IGM Procedures

A detached process is being created to process the tiles listed above. Do not modify these tiles until you receive mail indicating job completion. IN CASE OF ERROR. EXAllINE PLTD:E:rACH.LOG IN YOUR ROOT DIRECTORY.

You have completed the last procedure within CUE.-ZETA..

You will find tile CUEZETADAT.l in the directory in which you are now working. If PLOTSEND says it has queued your plot file. then you may delete it ONLY ArrER you receive IIAlL from PLOTSEND.

Your plots are in a cue waiting for operator action on the ZETA.. Check allhe 110 desk for your plots.

Procedure CUE-ZETA is finished. BYE!

-7-

Cuezeta

IGM Procedures

DICOMED .This procedure transfers an output file to the Dicomed. The dialogue for the Dicomed procedure is listed. below, with Dicomed statements in bold. and user's responses in ita.lics. The symbol <CR> means the carriage return key. .

Queues a rue or group of files tor processing on the Dicomed.

Do you want further explanation? (yIn): Y <ell>

A DOC. file is· agraphic output file created by your program using a gratpac or DJ3000 Dicomed driver. ASCD and DDC files may be intermixed. A111iles sent with a single execution of this procedure will be processed using the same type of film. On microfiche. these mes will be output continuously on the same fiche.

Mter you have answered all the questions. your answers will be displayed for your approval before. anything permanent is done. You may em at any point by typing CONTROL Y.

Your full name: Tom. Jones <ell>

Approximate number of frames (all tiles): 1 <ell>

Enter C tor color. B tor black and white: B<Cll>

Select one of the following tum types. Please verifY that the Grafpac driver or the DI3000 film type parameter you used is appropriate for that type.

Code FUm Type Grafpac Driver DI3000 Parameter

1 35mm (full frame) DC '35' 2 35mm (run resolution, comic) DS '35' 3 35mm (run resolution. cine) DS -:35' 4 16mm D8 "16' 5 Pole.roid DS 'PO' a 4%5 Sheet (color only) DS or DL 'SlI' 7 48x Fiche (B + If only) Any "48' 8 24x Fiche (B + W only) Any '24'

Fum type code (1-8): 5 <ell>

Routing information or remarks·Cone line maz, enter carriage return if none) .' :Jfoor.l <Cll>

.,'

IGM Procedures

Enter the names of the tiles to be processed. You may use wild cards in the specification. You will be queried about the tile type (ascii or ddc). Also. every tile entered will be processed the same way. e.g. 48X dche.

Files (CR to end}: file 2. dat <ell>

Enter A (ascii} or D (ddc) type data: D <Cll>

Dicomed

Ascii is the data type of lext files. So if you are storing a text tile on microfiche. you would enter A here. If on the other hand you are expecting graphic oulpul then the dala type is Dicomed Display Code (nnC). and you would enter D.

Files (CR to end): <Cll>

DlCOllED WORK ORDER

Time of order: Login name:

15-JUNE-198412:20:40.46 JONES

Full name: Account: Frames: Film type: lIacbi.n.e: Rout I remarks:

TOM JONES 123456 1 Black and lfhite JGlI FLOORl

_ DRDO:[ JONES]FILE2.DAT;l

DDC

OK? (yIn): Y <CR>

If you reply with N. no tiles will be sent lothe Dicomed and the pro­cedure will end.

A detached process is being created to process your tiles. Do not modify your tiles until you receive mail indieating Job completion. IN CASE OF ERROR. EXAMINE RUNDE.1ACH.LOG IN YOUR ROOT DIRECTORY.

The (allowing are error messages that can appear:

Error in version numbers. Procedure aborted.

-9-

IGY Procedures Dicomed

error processing dicomed label Please bring this error message to the attention of SYSTEM.

tile2.dat does not have the characteristics of an Ascii type tile .

•••••••••• Error on tile tile2.daL Reenter tile name . ••• - ••••

Error occurred in dicomed program. Please bring this message to theaUsntionof~

f'ile specidcation error. Exiting from D1COJlED.

-10-

"',

IGM Procedures Dicomed

DICOMED A typical session might go as follows. The Dicomed statements are in bold and user's responses in italics. The symbol <CR> means the carriage return key.

Queues a tile or group of tiles for processing on the Dicomed.

Do you want further explanation? (yIn): N <Cll>

Your full name: Tom Jones <Cll>

Approximate number of frames (all tnes): 1 <Cll>

Enter C for color. B for black and white: B<Cll>

.Select. one of the following film types. Please verify that the Grafpac driver you used is appropriat.e for that type.

Code Film. Type Gratpac Driver Dl3000 Paramet.er

1 35mm (full frame) DC '35' 2 35mm (full resolution. comic) DS "35' 3 35mm (full resolution. cine) DS '35' 4 16mm D6 '16' 5 Polaroid DS 'PO' 6 4%5 Sheet (color only) DSorDL 'Sli' 7 48x Fiche (B + Wonly) Any '48' 8 24x Fiche (B + Wonly) Any '24'

Film type code (1-8): 5 <CR>

Routing information or remarla (one line max. enter c:Mriage return if none) :<CK>

Enler the names of the tiles to be processed. You may use wild cards in the specification. You will be queried about the tile type (ascii or ddc). Also, every tile entered will be processed the same way, e.g. 48X fiche.

Files (CR to end): file2.d.a.t <CR>

Enter A (ascii) or D (ddc) type data: D <CR> Files (CH to cnd): <CR>

-11-

ICM Procedures

DlCOllED WORK ORDER

Time of order: Login name: Full name: Account: Fr-am.es: Filmlype: 4achine: Ro~t/remarks:

15-JUNE-1984 12:20:40.48 JONES TOIIJOms 123456 1 Black and White IGlI

_DRDO:[JONES1~.DAT;1 DOC :00 ,. •

OK? (yIn): Y <ell>

A detached process is being created to process your files. Do not modify your files until you receive mail indicating job. completion. IN CASE OF ERROR. EXAIlINE RUNDgf'ACIi.LOG IN YOUR ROOT DIRECrORY.

-12-

Dicomed

... .

IGM Procedures

llAKE_TAGPRO This com~and procedure is for Tell-A-Graf users. It will enter into the directory of the user a TAGPRO.DAT for the device specified by the user. The dialogue from MAKE_ TAGPRO is listed below. The procedure output is in bold and the user's responses are in italics. Any comments are in normal type. The symbol <CR> specifies the carriage return key.

Do you want explanation of this procedure? (YIN): Y <ell>

•••••••••••••••••••••

This procedure will copy a TELL-A-GRAF profile, called TAGPRO.DAT, into your directory. The profile is needed by TELL-A-GRAF to communicate with the device you are wriDg.

Once you become more experienced with TELL-A-GRAF you may 1r8.D.t to create your own TAGPRO.DAT rue. If you enter TELL-A-GRAF without a TAGPRO.DAT tile in your directory. it will prompt you so that you can make your own TAGPRO file.

You may exit at any time by typing CONTROL Y.

If you have any problems contact Cammie [email protected]

• • • • • • • • • • • • • •• • • • • • •

[ Press the 'RETURN' key to continue] <Cll>

The following is the list of devices for which there are currenUy TAGPRO's made.

DEVlCE# DEVlCE NAllE NOTES

1 AED512 2 AED767 3 HP2623 4- TEKTRONIX (use for ADIl3A wi Retrographics) 5 W125 6 GIGI 7 WIOO RETROFIT 8 PRINTER (use for ANY NON-GRAPlflCS TER1UNAL) 9 ZETA (KODEL 1453 - PLO'ITER)

Please enler the number or the device you are using: 4 <CR>

-13-

IGM Procedures Make_ Tagpro

Note: If you enter an incorrect number. the list will be repeated, and the following reminder will be added.

You may exit by typing C'fRL Y.

For some of the devices additional information is needed, so you will be asked questions such as:

"DOES YOUR VTl25 HAVE COLOR (YIN):

DOES YOUR G1G1 HAVE COLOR (Y IM):

Or you will be given additional information on the device you have chosen:

Informational message ice (PRlNTER) was your device choice -· ................... '. This is for users who do not have a graphic terminals. Since the resolution is very low, it is best used for seeing a rough draft or a quick look of your piot..WhenTELL-A-GRAF uses this TAGPRO, TEl.L-A-GRAF produces an output. tile called FaRO 1 O.DAT. This tile contains the graphs that you have created while in TElJrA-GRAF. When you are finished with your TELL-A-GRAF session. FORO 1 O.DAT can be viewed on your terminal by typing "TEIUIPLO'i .

You may want to rename this out.put. tile so that. it. bas more me~ ing Lo you.

• • • • • • • • • • • • • • • • • • • • • [ Press the 'RETURN' key to continue J

Infor~a:tional message if 9 (ZETA) was your device choice -· . . . . . . ~ . . . . . . . . . . . . . When TELI.,-A-GRAF uses this TAGPRO. TELL-A-GRAF produces an output tile called FOROC8.DAT. This tile contains the graphs that you have created while in TEIJ..-A-GRAF. When you are finished with your TELL-A-GRAF session.FORO08.DAT can be sent to the plotter by typing "PLOTSENlr.

You may want to rename this output tile so that it has more mean-" lng to you.

• • • • • • • • • • • • • • • • • • • • • [ Press the 'RETURN· key to continue]

l'

After you have picked your device tbe following will appear:

-14-

\ \ c~

\

\.\

IGM Procedures Make_ Tagpro

Do you want to be able to SEND your plots to a hardcopy device? (Y IN): Y <ell>

If you reply no then your secondary device will be the same as your primary device.

Your.hard copy device is the ZETA plotter. As more hardcopy devices become available. you will be shown the choices .. The Zeta TAGPRO will. produce the output file lOROOB.DAT when you use the SEND command in TELL-A-GRAF.

(To plot this tile use·the procedure -PlD'l"SEND'".)

Your TAGPRO.DAT is now in your directory. You can enter TELL-A-GRAF by typing "TAG'" .

-15-

IGM Procedures Make_ Tagpro

llAKE_TAGPRO A typical session might go as follows. The llake_Tagpro dialogue is in bold and lhe user's responses are in ita:i.ics. Any commenls are in normal type. The sym­bol <CR> specifies the carriag~>relurn key.

, ' : .,

Do you want explanation of this pro~~ure? (YIN): N <Cll>

\" Please enter the number of lhe device you are using: 4 <Cll>

Do you want to be able to SEND your plots to a hardcopy device? (YIN): Y <Cll>

Your hard copy device is the ZETA ploUer. As mo~ hardcopy devices become available. you will be shown the choices. The Zeta

-TAG PRO will produce the output tile FORO08.DAT when you use the SEND command in·TELL-A-'GRAF.

(To plot this tile use the procedure "PLOTSENlT~)

Your TAGPRO.DAT is now in your directory. You can enter TELL-A-GRAF by typing "TAG' •

-16-

IGM Procedures

PLOTSEND This procedure transfers files to the plotters. Three optional parameters may be specified. If they are not, the user will be queried for them. The user will be queried for routing and special instructions in all cases. The optional parame­ters are-

p1 plotter (1 for zela. 2 for varian {not yet implemented}) p2 user's full name p3 file name

Below is the dialogue from PLOTSEND. The PLOTSEND statements are in bold. and the user's responses are in italics. The symbol <CR> means the carriage return key.

Queues a tile or group of tiles for processing on a plotter.

Do you .. ant further ezplanation? (yIn): Y <Cit>

Thi!: procedure disposes tiles to the zeta plotter. Other plotters will be added later .

.Aft.cr you have answered all the questions. your answers will be displayed for your approval before anything permanent is done. You may exit at any point by typing CONTROL Y.

Your full name: Tom. Jones <Cit>

Do !"ou want to specify special instructions? (yIn): Y <CR>

Specify special paper only after your plot has been tested. Extra operator intervention is required to change paper which may slow lhe return of your plot.

The following options are available:

Est. select cost

number option factor

1 Standard paper -- roll. 1 2 Standard paper -- fan fold. 1.5 3 Kromekote paper (High quality bond paper) -- roll only. 3 4 Acctate film (Cor overhead projector) 5

Type the select number followed by return: 1 <CR>

Enter other special instructions 50 characters ma% (carriage return if none)

-17-

IGM Procedures Plotsend

: Use regular paper. <Cll>

Routing information or remarks (one line max. enter carriage return if none) : floor 1 '<"CR>

Enter the names of the.tiles to be processed. You may use 1ri.ld .cards in the specification.

rues (CR to end): file 1.d.at;2 <CR> rues (CR to end): <Cll>

PI.On)END WORK ORDER

.Time of order: Login name:

15-June-1984 12:20:40.48 JONES

Full name: AcCOunt:i· Machine: Plotter:

TOll JONES 123456 IGII

.. ZETA 1453SX

Special instr:. USE· REGUlAR PAPER Rout/remarks: FLOOR 1

·Ji"iles: _ DRDO:[ JONES]FILE1.DAT;2

OK?·(y/n}: Y<Cll>

If you type N then no files will be sent and the procedure will end wilh the message: No tiles were t.ra.n.sCerred to the plol queues.

A detached process is being created to process the tiles listed above. Do not modify these files until you receive mail indicating job completion. IN CASE OF ERROR, EXAllINE PLTD~ACH.LOG IN YOUR ROOT DIRECTORY.

The following are error messages that can appear:

FILE1.DAT;2 docs. not have the characteristics oC a ZE:rA type tile .

•••••••••• Error on tile F1I..El.DAT. Reenler file name .••••••••••

-lB-

IGM Procedures

Error in version numbers. Procedure aborted.

error processing plotsend jobcnt. Please bring this error message to the attention of SYSTEM.

Error occurred in plolseild program. Please bring this message to the attention ofSYSTEII.

me specification error. Exiting from plotsen&L

Plotsend

If PLOTSEND is exited before completion for any reason you will gel the message:

No tiles were transferred to the plot queues.

-19-

IGM Procedures Plots end

," PLOTSEND A'l'ypical session might be as follows. The PLOTSEND statements are in bold and the user's repsonses are in italics. The symbol <CR> means the carriage return key.

Queues a tile o.r group of tiles for processing on a plotter.

Do you want further explanation? (y In): N <Cll>

Your full name: Tom Jones <Cll>

Do you want to specify special iD.structions? (yIn): N <Cll>

Routing information or remarks (one line max. enter carriage return if none) :<Cll>

Enter the names of the tiles to be processed. You may use wild cards in the specification.

Files (CR to end):jileJ.da.t;2<CR> Files (CR t.o end): <Cll>

PLOTSEND WORK ORDER

Time of order: Login name: l'uJ.l name:

1~June-1984 12:20:40.48 JONES

Account: Machine: Plotter:

Special instr: Rout/remarks:

nIes:

TOM JONES 123458 IGJI ZErA 1453SX

_ DRDO:( JONES]FILE1.DAT;2

OK? (y In): Y <Cll>

A detached process is being created to process the tiles listed above. Do nol modify these files until you receive mail indicating job complction. IN CASE OF ERROR, EXAlllNE PLTDE:rAClLLOG IN YOUR ROOT DIRECTORY.

-20-

· ...

IGM Procedures

TIDSEND This procedure transfers files to the plotters. Three optional parameters may be specified. If they are not, the user will be queried for lhem. The user will be queried for routing and special instruclions in all cases. The optional parame­ters are --

pI plotter (1 for zeta 1453, 2 for zela 8) p2 user's full name p3 tile name

Below is the dialogue from TIDSEND. The TID SEND statements are in bold. and the user's responses are in italics. The symbol <CR> means the carriage return key.

Queues a tile or group of tlles for processing on a plotter.

Do you want further explanation? (yIn): Y <CK>

'Ibis procedure disposes files to the zeta plotter. Other plotters will be added later.

Mter you have answered all the questions. your answers wiD be displayed for your approval before anyth.ing permanent is done. You may entat any point by typing CONTROL Y.

Your run name: Tom. Jones <CR>

Select one of the rollowing plotter types.

Code Plotter type

1 Zeta 1453 2 ZetaS

Plotter type code (1-2): 1 <CK>

Enler spccialinslructions - 60 characters maximum. (carriage return if none) : Use regular paper <CK> Rouling information or remarks (one line max. enter carriage return if none) :<CK>

Enter the names of the files to be processed. You may use wild cards in the specilicalion.

nles (CR to end): file 1.da;t·<CR>

-21-

IGM Procedures

lUes (CR to end): <Cll>

tidsend WORK ORDER

Time qf order: Login name:

15-June-1984 12:20:40.48 Jones

Full name: Account: lIacbine: Plotter:

Tom Jones 123456 JGlI ZETA 1453SX

Special iDstr : Use regular paper Rout/remarks:

. Files: _DRDO:( JONES]FILE1.DAT;2

OK? (yIn): y.<CR>

Tidsend

If you answer N. no files will be sent to TID. The procedure will end 'With the message: Notlles were transferred to the plot queue

A detached process is being created to process the tlles listed above. Do nol modify these tiles until you receive mail indicating job completion.

The following are error messages that can appear:

Filel.dat;2 does not have the characteristics of a ZETA type tile .

. .......... Error on tile tile l.dat. Reenter tile name. - •• __ •

Error in version numbers. Procedure aborted.

error processing tidsend jobcnt Please bringt.h.is error message to the attention of SYS'T'Ell.

Error occurred in tidsend program. Please bring this message to the attention of SYSTEJI.

Filc specification error. Exiting Crom tidsend.

-22-

ICY

,.

Procedures Tidsend

If an Tidsend is stopped before completion the following message is given:

No tiles were transferred to the plot queues.

-23-

IGM Procedures Tidsend

TIDSEND A typical session might be as follows. The TIDSEND statements are in bold. and the user's responses are in italics. The symbol <CR> means the carriage return key.

Queues a tile or group of files for processing on a plotter.

Do you want further explanation? (yIn): N<Cll>

Your full name: Tom. Janes <CR>

Select one of the following plotter types.

Code Plottertype

1 Zeta 1453 2 Zeta 8

Plotter type code (1-2): 1 <CR>

Enter special in.st.rUctions - 60 characters maximum (carriage return if none) :<CR> Routing information or remarks (one line max. enter carrtage return if none) :<CR>

Enter the names of the tiles to be processed. You may use wild cards in the specification.

Files (CR to end): Jile 1.d.a.t <CR>

Files (CR to end): <CR>

lidsend WORK ORDER

Time of order: Login name:

15-June-1984 12:20:40.46 Jones

Full name: Accounl: Machine: Plolter:

Spccial inslr Roul/remarks:

Tom Jones 123456 IGM ZETA 1453SX

-24-

..

IGM Procedures

mea: _DRDO:[ .J0m:5]FILE1.DAT;2

OK? (y In): Y <CI?>

A detached process is being created to process the files listed above. Do not modily these tiles unW you receive mail indicating job 'COmple~on.

-25-

Tidsend

..

. .

GRAPIDCS TERMINALS

The most popular graphics devices are graphics terminals. A graphics ter­minal is unique in its ability to allow input of textual and graphic data, allow real time interactive graphics development, and then produce both preview and sometimes final graphics displays. Some terminals support screen copy (push a button or give a command and another device produces you a paper copy) of the display.

Graphics terminals can be divided into vector devices and raster devices. The various terminals available from the Computer Center are listed below.

AED512

RASTER DEVICES : * AED512 * Tektronix 4105

VECTOR DEVICES : * Tektronix 4014 (4010 Series) * IMLAC Series II

The AED512 is a color raster display terminal which supports 8 primary colors (White, red, green, yellow, blue, magenta, cyan, black) with vector and area-fill imagery. The raster size of 512 x 512 pixels is capable of displaying 256 simultaneous colors (out of 16.7 million possible) of variable hue, saturation and lightness. The AED's have a joystick for moving the graphic cursor around, a programmable cursor, pan and zoom features. A Summa­graphics. graphics tablet with a four button cursor is attached to one of the AEDs for digitizing pictures or other graphics input purposes.

Tektronix 4105 The Tektronix 4105 is a medium resolution (480 x 360) color raster terminal with 4096 x 4096 addressable points. It consists of a separate adjustable display stand with a 13 inch (diagonal) screen, a portable keyboard, a numeric keypad, programmable function keys, and a multipurpose joydisk for easy text scrolling and crosshair cursor control. The display can be divided into a graphics area which a dialog area and can operate indepen­dently. Eight independent colors are supported in both the GRAPHICS and DIALOG area from a palette of 64. An interactive color interface provides push-button color selection and modification. Graphics Input (GIN) mode provides interactive graphics with the host machine. In graphics mode, the 4105 otTers 8 pre-defined line styles, 11 marker types, and quick polygon-fill with solid colors or any of 149 pre-defined patterns. Graphics text which can

. be adjusted in size or rotated is also featured. Setup mode allows you to set terminal operating parameters by entering English-style commands from the keyboard. Most operating parameters are saved in nonvolatile memory and remembered even when the terminal is turned otT. The Tek 4105 is com­patible with Tek 4010, 4100, and 4110 series. A color ink jet printer

- 1 -

(Tektronix 4695) is attached to the terminal for generating push-button

hardcopies.

Tektronix 4014 (4010 Series) This Tektronix terminal consists of a monochrome 19 inch (diagonal) storage CRT with display area 15 x 11 inch. a keyboard. and two thumbwheels for controlling the graphic cursor. The storage scope is a dev­ice for retaining a picture by means ofa stored charge directly on the face of the tube. An erase cycle removes the stored charge from the entire screen and subsequent commands cause characters. points. and lines to be drawn on the screen. Each character is drawn on the screen and the device behaves as a teletype until a control character causes it to enter graph mode or graphic input mode. In graph mode. subsequent characters are interpreted as coordinates to draw vectors. (A point is a zero length vector.) An escape character returns the terminal to alphanumeric mode. -The graphics software uses these two modes to draw characters. points. and lines on the screen. The plotting area used by the graphic software is a 12 inch square on the right side of the screen. This gives a square plotting sur­face and leaves the left side of the screen free fot messages in the usual teletype format. The terminal has 4 sizes of hardware characters. 5 hardware line-styles and 4096 addressable points available; The resolution

. of the terminal is 1024 x 780. Ahardcopy unit (Tektronix 4631) is attached to the terminal for generating push-button hardcopies.

IMLAC Series n The IMLAC Series II terminal is a monochrome. vector-driven CRT. It uses internal display list technology to store and manipUlate images. A very fast refresh rate enables it to display 2500 one-inch-ilicker-free vectors on a 2048 x 2048 point grid. The 19 inch screen size has an 11 inch square view­ing area; The vector refresh terminal allows the user to selectively move. change or erase a segment without erasing and redrawing the whole seg­ment. The lMLAC has a 92 key keyboard unit. light pen. programmable cur­sor. and Summagraphics graphics tablet with stylus. The storage tube emu­lator provides a command set and graphics capabilities similar to a Tek­tronix 4014 terminal. A hardcopy unit (Tektronix 4631) is attached to the terminal for generating push-button hardcopies.

Summa graphics Bit Pad One

Bit Pad One converts graphic information into digital form suitable for. entry into a computer. There is a Summagraphics Bit Pad One with a four button cursor attached to one of the AED 512 graphics terminals. and a Summa­graphics Bit Pad One with a pen-like stylus attached to the IMLAC graphics terminal. By merely touching the pen-like stylus or positioning the 4 button

-2-

cursor to any position on a map. diagram. menu or other graphic presenta­tion. the coordinates of that position are transformed into their digital equivalents. The cursor contains a crosshair sight which per~ts the user to enter data with the full accuracy of the data table. :"

The following pages are user guides for the AED512. the Tektronix 4105. the Tektronix 4014. and the IMLAC Series D graphics terminals. \1\

-3-

AED 512 User Guide

***********************************AED512 ************************************ ******************* PLEASE TURN OFF MACHINE WHEN FINISHED *****************

(1)Turn on the two POWER switches located on the far right and far left on the back of the AED. The BRIGHTNESS and CONTRAST knobs are on the right side, also on the back.

(2) You can log on as on any terminal.

(3) The function keys are Located along the top of the keyboard~ The keys toggle the functions listed below each key. The status can be seen by the LED's above each key. The functiQJl of each key is listed below:

RESET- If hit once this will interrupt the current task. If hit twice, it will initialize the terminal to "power up" conditions.

LOCAL- Places the AED off-line.

LOWER CASE- Places the AED in lower case mode. Upper case characters are made when the shift key is used.

SCROLL- This stops the scrolling of the screen. (CTRL-S/CTRL-Q)

PAN- Enables the user to pan the screen image using the JOYSTICK.

ZOOM IN- Enlarges the picture around the current screen center. If the JOYSTICK cursor is enabled, ZOOM IN will zoom in around the cur­sor.

ZOOM OUT-

CURSOR­RATE-

VERNIER-

Demagnifies the screen image until the image is at 1X mag.

Enables the JOYSTICK cursor.

Sets the rate of the cursor traveling across the screen as a func­tion of distance from the centered position of the JOYSTICK.

Dampens the effect of the JOYSTICK to allow for "fine tuning".

(4) Another key of interest is the "HERE IS"" key, which clears the screen and positions the cursor at the home position when in alphanumeric mode.

<1>

it

TEKTRONIX 4105 User Guide

••••••••••••••••••••••••••••••• TEKTRONIX 4105 •••••••••••••••••••••••••••••••• •••••••••••••••• PLEASE TURN TIlE MACHINE OFF WHEN FINISHED ••••••••••••••••

(l) Press the POWER switch on the front of the display unit to turn the terminal on. The BRIGHTNESS knob is just below the POWER switch. The second but­ton on the far left facing the back of the TEK 4105 is the RESET button. This button resets the terminal to its power-up default status. Log on as you would on any other terminal.

(2) There are some special keys above the keyboard panel. S ERAS/D ERAS - S ERAS erases the entire screen.

D ERAS(SHIFr-S ERAS) erases just the DIALOG area.

JOYDISK - Scrolls text or moves the crosshair cursor.

DIALOGIG ERAS - DIALOG toggles the display of the DIALOG area on or off .. · G ERAS(SHIFi'-DIALOG) erases the graphics area.

SETUP I CANCEL - SETUP places the terminal in/out SETUP mode. CANCEL(SHIFr .. SETUP) stops all terminal activity.

S COPY ID COPY - 5 COPY makes a copy of everything on the screen from the TEKTRONIX 4695 hardcopy unit. D COPY(SHIFr-S COpy) makes a copy of the DIALOG area.

SET COLOR - Activates the color interface.

Fl TIIROUGH FB - These are user-definable function keys. The secondary labels on FI--F5 are used when the color interface is active.

(3) SETUP MODE:

(4)

Press the SETUP KEY (at the top of the keyboard) to put the terminal in SETUP mode. An asterisk appears as the SETUP mode prompt. By entering just SfATUS. all the SETUP commands and their current parameter set­tings will be listed. By entering SfATUS followed by a command-name. the current status of the parameters will be displayed with the command. Entering HELP instead of SfATUS will display a Help message for one or more commands. To change a SETUP command. type the command name followed by a space, then enter any parameters (separated by spaces). and press the RETURN key.

COLOR INTERFACE:

Press SET COLOR to activate the color interface. There are two methods to change display colors:

a) Use Function Keys (FI--F4)

Use the joydisk to move the crosshair cursor to any graphic area that you want to change the color. Press F1/SHIFT Ft to increase or decrease the hue setting. Press F2/SHlFT F2 to·increase or decrease the lightness setting; Press F3/SHIFT F3 to increase or decrease the saturation setting. To restore the original color. press F4.

<1>

TEKTRONIX 4105 User Guide

b) Color Menu Press and hold down F5(Cmenu) and move the crosshair over the menu of 9 color names beside the cursor to the color you want.·

RedetinetheColor Map

Before ~oving the crosshair. press S ERAS; the display shows all 16 color indices. along with color samples and m..s values .

. Move the crosshair to one ·of the square color samples. and use either method (a) or method (b) to change the color; To re­store all previous color(s), press F4/SHIFT-F4 (before moving the crosshair cursor). '

Press SET COWR to exit the color interface.

<2>

TEKTRONIX 4014 User Guide

••••••••••••••••••••••••••••••• TEKTRONIX 4014 ••••••••••••••••••••••••••••••••

1. Power up the terminal POWER SWITCH ON/OFF is located on the right side below the terminal. The FOCUS sense screw is on the back.

There are two tiny sense screws on the right edge of the keyboard panel: the first one from the back is HARD COPY INTENSITY. and the second one is WRITE-THRU INTENSITY.

2. There is a control panel above the keyboard panel.

LOCAL-

LINE-

ASCll-

ALT-

Places the terminal oir-line.

Permits exchange of data between the terminal and computer.

Permits only ASCII characters to be written.

Permits only the characters in the alternate character set to be written.

MARGIN CONTROL 1 - Causes a Page Full signal to occur when Margin 1 is set and the terminal line feeds past the last alphanumeric line.

MARGIN CONTROL 2 - Causes a Page Full signal to occur only after Margin 2 is set and the terminal line feeds past the last alphanumeric line in the second column.

MARGIN CON'rnOL OFF - Prevents generation of Page FUll.

FULL IJGHT - Lights when Page Full is generated.

RELEASE - Releases the terminal from a Page Full condition.

AUTO PRINT - Generates a hardcopy of the screen from the TEKTRONIX 4631 hard copy unit when a Page Full signal occurs.

COPY- Generates a hardcopy of the screen from the TEKTRONIX 4631 hard copy unit.

CROSSHAIR POSITION THUllBWHEELS - Controls the position of the graphic input mode crosshair cursor.

RESE.l-

PAGE-

'ITYLOCK-

Entered with SHIFl held down: creates a "home" function. reset­ting the terminal to initial status: does not erase.

Erases the display. resets to alpha mode and "home" function.

With the lock in effect. transmission is limited to 1lY code.

Character sizes: Switch the terminal to Local Mode.

<1>

TEKTRONIX 4014

ESC 8 - Selects 74 characters. 35 lines. ESC 9 - Selects 81 characters. 38 lines. ESC : - Selects 121 characters. 58 lines~ ESC ; - Selects 133 characters. 64 lines.

Mode Selections: ALPHA MODE - PAGE/SHIn" RESET from the keyboard.

User Guide

GRAPH MODE - Program command GS( CTRL-SHIFr-M from the keyboard ). GRAPlllC INPUT MODE - ESC ENQ sequence' ( CTRL-E from thekeyboal"d ).

3. You can use the TEKTRONIX as a regular terminal when it is in alpha mode.

Be sure to clear the screen before you turn otf the power!!!!

<2>

..

IMLAC Series II User Guide

",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.,,,,,,,,,**,,,,,,*,,,*,,,***,,,,,,,,, IMLAC **********"'***"''''*'''''''''''''''''''''''''''*'''''''''''''''*'''''''''*''' .*.* •• "'*."'''''''.'''.**''' PLEASE TURN OFF MACHINE WHEN F1NISHED "'** •• "'."' •• ***"'.*"'.

(I) Turn on the Power switch on the back of the right hand side of the terminal. The Brightness thumbwheel is on the front of the right hand side. If the power is already on, toggle the RESET switch.

(2) Wait for the test pattern to appear. (-1/2 min.) If it doesn't appear, toggle the RESET switch. In the lower left hand corner of the test pattern you will see a menu:

A) IMLAC SERIES II 2.C B) STORAGE TUBE EMULATOR

C)VT-D) HARDCOPY

(NOTE: Bit Pad pen should be out of its holder for proper screen functioning)

(NOTE: Only appears when IMLA.C is connected to hardcopy device)

Choose from the menu by pressing the corresponding key. ("An for IMLA.C)

(3) An OPTIONS menu will be displayed. To change any option, type the coresponding key for the option you wish to change. Then a menu will appear on the right hand side of the screen with the choices for that option. Type the appropriate key for your choice. When you are satisfied type the "y" key to confirm your choices.

(4) You can now log on as on any terminal. NOTE: The"NEW:LINE' key is the same as the "RETURN" key on other terminals.

There are 8 button keys that are available for user-programmable functions. They are located on the top middle of the keyboard.

There are 8 Function keys on the IMLAC. They are located on the top left of the key board.

######################## FUNCTION KEYS: ############################

~ r.[lJ\C 1l0D~----------------------------------------------------------------------------

FI­F2-F3-F4-:m­Fa­F?-

Toggles small alpha file. Toggles title. Toggles event messages Toggles local echo Toggles size of characters Clears error messages

!Bottom of screen) Top of screen) . Bottom right center of screen)

(Three size options)

Clears event messages (To get another event msg. hit) . ("NEW LINE")

CTRL-F8 Sends screen image to hardcopy device.

~'TEKTRONIXS 1l0DE--(STORAGE TUBE EMULATOR)------------------------

F1- Brings cursor to home position. F2- Toggles mode (full duplex/half duplex/local) F'3- Toggles title FS- Clears screen

<1>

IMLAC Series II

F6- Clears error messages F7- Toggles margin ( /1/2) CTRL-FB Sends screenimage to hardcopy device.

<2>

User Guide

-,

,"'

Grinnell System

, \

The Computing Services group supports a G'rinnell Frame Buffer System connected to the IGM VAX 11/780. A frame butTer is used for recording. process­ing and displaying digitized images. On-line help is available by typing:

Help @Grafhclp Grinnell after the system prompt. S.

Hardware The system is a GMR 274 Image Processing System. with these hardware

attributes:

• monochromatic television camera • 14" x 17" light table • 19" color monitor • control terminal • GMR 274 system configuration:

- 512 x 512 x 8-bit image memory - byte packed write/read image data - image function video with three 8x8

lookup tables for generating color - image zoom and pan - 5 x 7 upper and lower case ASCII character set - rectangUlar area for write/read image data - joystick control unit with four independent cursors - 8-bit-image video digitizer - RS-170 compatible composite video - external synchronization

The camera is mounted on the light table. It can record front-lighted opaque surfaces and back-lighted transparent surfaces. And because this is a television camera. it is capable of recording live images for digitiiation. The image can be viewed on the monitor to adjust the focus, lighting and other con­trol settings.

The monitor is used to display the digit.ized raster image. The image has a 512 x 512 visible resolution and is refreshed wit.h a 30 Hz int.erlace, 559 line for­mat.

The 8-bit. image memory provides for a spatial resolution of 512 x 512 pixels with a gray scale value of 0 (black) t.o 255 (whit.e) for each pixel. These values can t.hen be st.ored and/or processed on the IGM VAX.

-1-

IGM Introduction Grinnell

Software

"Software for the Grinnell includes a FORTRAN-callable software package written by Grinnell Systems and some programs developed at LBL. The Grinnell System package provides full access to all the possible Grinnell display func­tions. A manual for the Grinnell software" package is available through the Com­puting Services Library (Rm 1275 Bldg 50B). This manual covers all the features available on a fully equipped Grinnell system and therefore this manual covers features not available on our system. An additional shortcoming is that the Grin­nell System software does no error checking. Thus, Grinnell user programs, which misuse the software, will run with distortion or no viewable results. Since the documentation does notweU define the parameter definitions, the problem of no error checking is compounded. The LBL software serves both as a user friendly introduction to the Grinnell and as a model for making calls to the Grin­nell System software.

How to Start Up the Grinnell System

(1) Log on to the IGM VAX at the Grinnell control terminal.

(2) Define global symbols for running the Grinnell software programs men­tioned below. Type

Defs_ Grinnell at the system prompt. S.

WARNING:

The Grinnell system must be initialized each time the user logs on to the system. Without this initialization, nothing will appear to happen on the Grinnell monitor, even. though the programs us~dseem to execute.

(3) Initialize the Grinnell. Type

Startup at the system prompt, S .

. Four pictures will be flashing on the monitor. The process which generates the pictures also initializes the Grinnell. Grinnell Sys­tems designed the four pictures called "internal self-tests for the display system". These tests are also a "maintenance tool to demonstrate that the GMR 270 controller is functioning properly.

To stop this display:

hold down the control key and type Y.

TEST:

If you want to view the test pictures one at a time, type

Test at the system prompt. S.

This program will query you for the test picture number (1 - 4).

-2-

IGM Introduction Grinnell

Test # 1 - annotates system configuration.

Test #2 - demonstrates alphanumeric characters, and graphic and image data.

Test #3 - demonstrates vector and rectilinear graphics.

Test #4 - demonstrates gray scale values.

To exit from Test:

hold down the control key and type Y.

(4) Run the program{s) of your choice.

LBL Programs for Your Use

CAMERA:

This LBL program was written to allow a user to become familiar with the Grinnell. It demonstrates the quality of the live video camera and the pseudo colors available on the Grinnell. To use this program:

• select an object to be viewed • place it on the light table • type Camera after the system prompt, S.

The user will be instructed and queried at the terminal. No output files will be generated.

SAVEFRAME:

This program creates a file containing a full frame of gray levels for a certain image. The program requires 1029 blocks per frame on the user's IGM account. To run. type

Save frame after the system prompt. S.

The program will instruct and query the user. The user will be queried for an identification word (up to 70 characters) for the digitized image. Two binary records will be written for each image in the file Saveframe.dat. Since the user might have several such files, the user should rename each file with an appropriate file name.

To process this information the user needs to know the format of these two records:

Record 1 contains Ident, the 70 character alphanumeric identification of the frame.

Record 2 contains Data, a 512 x 512 array of2-byte integers, which are the gray level values for each pixel. starting from the lower left of the screen. and reading the screen horizontally. The Data values will

-3-

IGM Introduction Grinnell

be from 0 (black) to 255 (white).

Thus the FORTRAN to input these two records might be:

BYTE IDENT(70) INTEGER DATA(512, 512) OPEN (UNIT=1, FILE="SAVEFRAME", STATUS="OLD", 1 FORM= "UNFORMATED" , READ ONLY ) READ (1) IDENT READ (1) DATA

LOOKFRAME:

This program provides a simple way to view, on the Grinnell monitor, . the digitized image created by Saveframe. To run, type

Lookframe filename after the system prompt, S

The filename is whatever you renamed the output file from Saveframe. If you didn't rename the tile then the file name is Saveframe.dat.

Examples Images:

For those interested in seeing what types of images have been digi­tizedon our Grinnell, some definitions are necessary. Type

View_Grinnell after the system prompt, S.

This defines some digitized data files in directory Userdisk:[ Graphics.GrinneaData]

As of this date Luggage. Fruit. Telescope, Bevatron and Slides are available for viewing. All of these files are in .dat name form. Any new examples can be found there also. To view any of these examples use the procedure Lookframe and name the image. For example, to view Luggage, type

Looidrame Luggage.dat after the system.prompt, S.

And do likewise for the other example images named above.

Two more programs, Graylimit and Lookxy, were developed for users who wanted particular gray-levels within a certain image.

GRAYLIMIT:

This program interactively leads the user through the process of selecting an appropriate gray-level so that the user can isolate some discernible form in view of the camera. This process can be used to iso­late a light or dark feature in a semitone picture, or in a line drawing or

-4-

IGM Introduction Grinnell

graph. GrayIimit returns a user-identified recording of x.y values at the selected gray-level. To obtain the coordinates of any selected gray-level from any image in view of the Grinnell digitizing camera, type

GrayIimit after the system prompt, S.

LOOKXY:

The program will instruct and query the user, especially about the desired gray-level, and the identification of the digitized image. The output file name is Graylimit.dat and will be in the calling directory. It contains the coordinates at the selected gray-level which have been identified by the user.

The file structure of GrayIimit.dat contains:

(l) an empty record between the output from each digitized image,

(2) a 70-character identification which was input by the user, (3) the data

Y{J), N, (X{I), 1= l.N) in format

( IS, IS, 1015/ 51{10X,l0I5/».

X and Yvalues can go from 0 to 511, however Y is output only when there are non-zero X values. If there is more than one image in the file, then to test for the next image while reading the data values, within the user program, do IF ( N .EQ. 0) GO TO next image.

This program is used to view, on the Grinnell monitor, a data-point image created by GrayIimit. To run, type

Loolay filename after the system prompt, S.

The filename is whatever you renamed the output file from Graylimit. If you didn't rename the file then the file name is Graylimit.dat.

Where to Find LBL Software

LBL software for the Grinnell user can be found in the directory Userdisk:[Graphics.Grinnell.User]. Both the .ttn and .com files for these pro;. grams are in this directory. They can be used as models for further pro­grams. To reach this directory, type

User_Grinnell after the system prompt, S.

Potential Expansion Our Grinnell system has the potential to expand to include:

• two more 8-bit memory planes • 4-bit overlay memory

-5-

IGM

* image analyzer • image processor

Introduction·

* Tektronix 4632 (hardcopy device)

Grinnell

and an extended software package fo facilitate the use of the processor and analyzer.

Locating and Using the Grinnell The Grinnell workstation is located in the Computer Center I/O Room (Bldg. 50B.Rm. 1275). Ask at the I/O desk for access to the Grinnell. See Fran Permar. x-6310. about getting an account on the IGM. See Claudette Lederer x-6945. for help with the Grinnell System.

-6-

."

, ..

Movie.BYU

Movie.BYU is primarily for the display and manipulation of data represent­ing mathematical. topological. and architectural models whose geometry can be described in terms of polygonal elements or contour line definitions. To accom­plish this task Movie.BYU uses six tools: Display. Utility. Section. Title. Mosaic. and Compose. The display is available in both line drawing and continuous tone. Movie.BYU is available on all three of the Computer Services' VAXes. It supports several devices: the Tektronix 4010 series and Tektronix 4010 emulators. the Tektronix 4027. the AED 512. the Imlac series n. the DICOMED. the Calcomp M84. "and the Zeta 1453. Other devices will be made available upon popular request. On-line documentation is available describing the use of each tool. by typing iprint sys_movie:m.ovie.doc <cr>.

Utility

Utility is a data generation and editing program which allows the user Lo produce and/or edit models of two and three dimensional polygonal systems. The user has a variety of ways to accomplish this. The most elementary way is to enter each node of the object. then connect the nodes together into polygons to form the object. You can specify any connected set of polygons in the object as a part .(section). This is done so that you can manipUlate each part individually within Display; such as coloring each part differently. Different parts can have polygons in common. Utility also allows for easier model creation by having a method to make various standard objects by entering just a few commands. The node and polygon definitons are done for you. Objects that can be created in this manner (called modeling primitives) include such items as irregular and warped hexahedra. thick partial ellipsoids. and bodies of revolution. These primitives can be drawn in solid element format (as solids). or shell element format (as their surfaces). Solid element format models need to go through Section in order to be displayed by Disply. In the case of solid modeling of bodies of revolu­tion. special features allow the generation of associated gear teeth re.presenta­tions. Special cases of these. and other primitives. such as parallelepipeds and sph~roids. are included.

Options in the model generator facilitate the generation of displays of func­tions of two variables and surfaces of functions of three variables. The user may also employ Utility to read data files for the purpose of modification. appendage to other files. or to subject the model to symmetry operations ..

-1-

All VAX Inttoduction Movie.BYU

Display

Display is an inleractiveprogram for the display of polygonal element models. Within Display. many graphical display manipulations are available: Trahslation in any direction. Rotation of the model about anyone of the global axes. Pivoting of the model. about the local cartesian axes. V~ctor and scalar fUhctions (typically displacements and stress components) may be scaled by appropriate factors and added to the nodal coordinates. Contours may also be drawn on the visible surfaces in line drawing mode. For continuous tone images. color fringes may· be used to represent scalar values. Animated sequence·s involving the scene manipulation commands allow the specification of harmonic oscillations and uniform incremental or smooth animation of the rigid body motion. Linear steps may also be taken through data supplied at two transient time steps.

Selection of colors and shading format is necessary for continuous tone images. The c~lor of the background and individual parts is defined by the amount of red. blue. and green light. Shading may be uniform over individual elements. may vary linearly over individual elements with no attempt to match intensities at element boundaries. or may vary linearly with shading matched at the element boundaries. This later scheme produces a smooth surface simula­tion and may be invoked at the individual part level.

The user has complete control overthe location of the light sources (up to four) and limited control over the functional form of t!le light intensity variation with the angle between the element normal and the direction to the light source. The option of highlighting is also specified at the part level. If highlights are selected. the intensity of the highlight and some control over the functional vari­ation of its intensity with respect to surface normals. position of the observer. and location of the light source. is possible.

The program also allows casting of shadows from multiple light sources. Transparency. fog simulation. and anti-aliasing are other options. symmetry operations.

Section

Section is a special purpose program used to modify solid data representa­tions so that they are compatible with the display program. The .algorithm also allows the repeated· dividing of a solid model along a set of arbitrary planes and/ or user defined curved surfaces in space. Section will then generate ele­men~s on the cul surface together with predicted values of the displacements and scalar functions. Then. deletion of all elements and corresponding coordi­nates. displacements. and scalar functions that are interior to the model.

TiUe

Title is a program to generate two and three dimensional characters whose data format is the same as that used by the other programs. The user enters a line of text which is converted into characters composed of polygons according

-2-

All VAX Introduction Movie.BYU

to specifications given by the user.

Mosaic

Mosaic is a program whi~h contains an algorithm for processing complex contour arrangements to produce polygonal element mosaics which are suitable for litle drawing and continuous tone display. The program maps adjacent con­tours onto the same unit square. By using a triangulation method. subject to ordering limitations. Mosaic connects nodes of one contour to their neighbors in the other contour so that the total length of the connecting lines is minimized. While the mapping procedure provides a basis for branching decisions. highly ambiguous situations are resolved by user interaction. The program. which also includes node thinning and selective reduction of triangle pairs to quadrila­terals. was designed to process complex contour systems.

Compose

Compose is a program which. in combination with a "RECORD" command in Display. allows the user to create multiple image line drawings. To use this option. the user first enables the Record option and selectively saves line draw­ings on disk as named ASCII files at the time of their creation. The user then ru~s the Compose program which allows him to retrieve these files and to build

, multiple image displays in an automatic or manual mode. In the manual mode the user supplies the positions and scaling of the model.

-3-

\ \

, \ . , '.\

..

o

.X -

· .

y ,

x>S

y

x

z j

\ \

" ,~ , .\

~~~-~ ·m ([]!Il.~

S_/p-t __

IFDu.S

IAIpr . "

.. .

y

~z

y

z ~x

y

z-Jc

This report was done with support from the Department of Energy. Any conclusions or opinions expressed in this report represent solely those of the author(s) and not necessarily those of The Regents of the University of California, the Lawrence Berkeley Laboratory or the Department of Energy.

Reference to a company or product name does not imply approval or recommendation of the product by the University of California or the U.S. Department of Energy to the exclusion of others that may be suitable.

.~ .w:

TECHNICAL INFORMATION DEPARTMENT

LAWRENCE BERKELEY LABORATORY

UNIVERSITY OF CALIFORNIA

BERKELEY, CALIFORNIA 94720

___ 3