Title :NGRAPH (Subroutine Library) - Documentation Keywords :GRAPHICS Computer :DEC VAX 11/730-785, DEC PDP 11/2-11/73 Operating System :VAXVMS, RT-11 Programming Language :Fortran IV Hardware Requirements :None Author(s) :Nestor J. Zaluzec Correspondence Address :Argonne Nat. Lab, Electron Microscopy Center, Bldg 212 :Materials Science Division, Argonne, Illinois 60439, USA Description: Start on the 10th line Outline/Description and the purpose of the code. References: Operating Instructions for Tektronics 4010 terminals supplied by the manufacturer. Compilation Procedure: Using VAX-Fortran compiler 1. Rename file to NGRAPH.FOR 2. At DCL prompt type FORTRAN/EXTEND/NOF77 NGRAPH.FOR Using RT-11 Fortran IV compiler 1. Rename file to NGRAPH.FOR 2. At RT-11 prompt type FORTRAN/EXTEND/WARNINGS NGRAPH.FOR Linking Procedure: Include the object module NGRAPH.OBJ in your standard link procedure for example when linking the NGRAPH library into the main program NGTEST you would use the following procedure Using VAX-Linker 1. At DCL prompt type LINK NGTEST,NGRAPH Using RT-11 Linker 1. At RT-11 prompt type LINK NGTEST,NGRAPH Test Data: None, this routine generates graphics plots no data available General Comments: To run the demonstration program type RUN NGTEST upon receipt of the system ready prompt. NOTE: If NGRAPH is to be used with smaller computer systems such as PDP 11's it may be necessary to divide the routines up into an overlay structure to allow for swapping on and off the disk an example of an overlay structure which will work is given below. The NGRAPH library requires the existance of a data file called TERMIN.DAT on the default storage device named DAT:. This file is called by the subroutine TERMIN, which attempts to read the terminal type currently in use. If the file doesnot exist the library will default to a TEKTRONICS 4010-1 terminal, operating at 9600 baud, with no hardcopy device. The user is allowed to change the terminal type through access of the TERMIN routine see the program NGTEST for an example. The following is an example of the format of the TERMIN.DAT file, only the first three lines are required, please note that the comments begining each of the first three lines are both spacers as well reminders as to the function of the parameters on each line. GRAPHICS TERMINAL TYPE:8 BAUD RATE FOR GRAPHICS:9600 HARDCOPY DEVICE TYPE:5 C -------------------------------------------------------- C TERMINAL DEFINITIONS: C --------------------- C -3 = ASCII TERMINAL: NO GRAPHICS, & NO VT-100 compatibility & <32 COLUMNS C -2 = ASCII TERMINAL: NO GRAPHICS, & NO VT-100 compatibility C -1 = ANSI X3.4 ASCII TERMINAL: NO GRAPHICS, VT-100 compatible C 0 = TEKTRONICS 4010-1,4014-1 (WITH HARDWARE CURSOR) C 1 = TEKTRONICS 4006 ,4010 (NO HARDWARE CURSOR) C 2 = LEAR SIEGLER ADM-3,ADM-5 (WITH RETROGRAPHICS RG-512) C 3 = PERITEK VCG-512 BIT MAP COLOR GRAPHICS C 4 = TEKTRONICS 4027 C 5 = HP 7470A/7475A HARDCOPY PLOTTER C 6 = LA100/LA50 HARDCOPY GRAPHICS C 7 = INTECOLOR VT-100 with 4010-1,4014-1 mode C 8 = INTECOLOR VT-100 with 4027 mode C 9 = DEC VT-200 with 4010-1,4014-1 mode C 10 = TEKTRONICS 4105/4107 with VT-100 compatibility mode C 11 = PLESSEY VT-100/TEK 4010-1 C 12 = ESPIRIT VT-100/TEK 4010-1 C 13 = TEKTRONICS 4010-1 HARDCOPY VIDEO TO VERSATIC C 14 = TEKTRONICS 4695 Color Copier C -------------------------------------------------------- C BAUD RATE RANGE FOR GRAPHICS (110 - 19200) C --------------------------------------------------------