• Aucun résultat trouvé

If are

N/A
N/A
Protected

Academic year: 2022

Partager "If are"

Copied!
13
0
0

Texte intégral

(1)

APPLICATION PROGRAM BULLETIN

AUTOPLOTTER FOR THE IBM 1620

This bulletin describes an IBM 1620 program to plot graphs of computed results on a modified IBM 870 Document Writing System. AUTOPLOTTER can be used with either a 1620 card system or a paper tape system.

The basis of AUTOPLOTTER consists of reading into storage all data pertaining to a given graph and producing output which contains the control functions for each line on the 866 typewriter. Since each line is calculated and punched before the next is calculated, the image of the entire graph never has to be stored in the memory of the computer at one time. This allows the plotting of larger graphs with less core storage.

AUTOPLOTTER will accept the following type of information to produce the plot format desired by the user:

• The height (up to 20") and the width (up to 100") of the paper on which the graph is to be plotted.

• The margins to be allowed to the left of and below the plotting grid.

• The lowest or minimum value of x and y, to assist in automatically positioning the graph in the plotting grid area.

• The values of y (up to 5) for each x value.

• Whether the points on the graph are to be represented by dots or crosses and printed in red or black ink. This allows four distinct types of curves or plots .

• Whether the points are to be treated as bar graphs or curves. If the points are on a curve, the user may specify that the area between the points is to be filled in on a straight line or a smooth curved line

(resulting from a second-order curve fitting) .

• Whether scale numbers, alphameric titles or labels are to be printed on the graph paper, in what locations, and in red or black ink.

The modified IBM 870 Document Writing System has specially engineered graph-plotting typebar characters and special ten-to-the-inch vertical and horizontal spacing.

(2)

EXAMPLE 1

The IBM 866 Non-Transmitting Typewriter has 88 characters, as follows:

26 capital letters 10 numerical digits 1 minus sign 1 period 25 dots 25 crosses

for scale numbers, alphameric titles or labels

for plotting the points

The accuracy of plotting the paints is enhanced by the positioning of the dots and crosses on the typebar face of the 25 special typebars and by the ten-to-the-inch vertical and horizontal spacing. Anyone of 25 dots (or crosses) can be selected and printed for each point to be plotted on the graph in any character printing area. If each of the 25 typebars printed in the same character printing area, the result would be a pattern as illustrated in Figure 1.

T

·

• •

:"'IQ

• •

1 f---t

• •

10

Figure 1. Enlarged view of character printing a rea.

Each of the 25 dots is positioned on a typebar .020 inches (vertical and horizontal) from the positioning of the adjacent dots.

AUTOPLOTTER calculates where the curve passes through each character printing area and selects the typebar that describes a point on this curve.

To introduce the reader to AUTOPLOTTER, the plotting of a sine-cosine curve will be explained in detail in the following paragraphs:

Figure 3 is a listing of the input to AUTOPLOTTER. This data was easily generated by the FORTRAN source program shown in Figure 2.

Referring to Figure 3, the first digit on each line is an identification to AUTOPLOTTER of the type of information contained in the card (or paper tape record).

(3)

FORTRAN CODING FORM

Identification

~ ( fOR (OMMENT 73 80

STATEMENT ;i

NUMBER ~ FORTRAN STATEMENT

I 5 6 1 10 15 20 25 30 35 ~O ~5 50

I~ I5JJIfMLE S.lIALE-.COISI.AlE. ICt/R.VE .J7L.O.1irl.NG ,I'n -~. /WI.

1.0.0 Ic .... IIJ~T (7.5".

Ira.

T . .r". IS:. ,r~r..· 1, {:". .t'.5iJ

,

}/:::. -.\,00

, , /

f L

, ,

P II A/,. •. rJ f .0.0, .1. I.t).tJ.O foo.o. 0 ,0 .I) AI

IPlJ.Alt!,H. .f ()I),' .2 .32-,

a

11 , L

A AI!:./,J::::.tl .• L

D£LToA=.=t· 1,L1ff.9~~/ r~.

IDx.::.2J .• 3 .. ./.4.15.9..z.~//.oo ().

IIJY=:b. /1 OQla.

,

Ib.a . .2 .1.=.f .• I.o.t>.

'NAAlCi-.tAl!:.1 ,F /DX i 1 i

AlSI.M=sIN{,,A.NGL h) /PY NC05!:::CO~1.)..Alf.l J:.)/f) Y

IOJ'AI"..II 1 ()O, ~ ,NANG. !tis/A/, NCo~~

/l. IA:JJG.LIE,=.A.N.GJ.. E+~D.EiLT.A / I

..

I L

IfiJUC.JI 1.l'100 ., i~

P/I.IJStE.

,

I I .1

,

L

~o .. T.tJ .. 1

I£Nb 1 I I I

,.

I I J

I I I I I I

I I L

Figure 2. FORTRAN source program for sine-cosine example.

55

.L

I

I I

form X28·7327·3 Printed in U.S.A.

Date _ _ _ _ _ _ Page _ _ of _ _ _

60 6S 70 72

,

I

,

I

I

,

I

(4)

The first line is a type 1 card and identifies the size of the plotting paper (10.00" wide by 10.00" high), the distance from the left-hand margin of the paper to minimum x value (0), the distance from the bottom of the paper to the minimum y value (0), the minimum x value (0), and the minimum y value (-5.00).

The x and y values assigned to these points do not have to be true minimums, as long as they insure that the graph does not go off the plotting surface.

The second line is a type 2 card and contains information relative to the type 3 cards that follow. In this example the (3) indicates that the distance between successive points is to be filled in with straight-line segments.

The (2) indicates that there will be two y values (sine and cosine) for each x value given. The first set of y values is to be plotted with crosses, using black ribbon (00); the second set of y values is to be plotted with dots, using black ribbon (10).

The type 3 cards contain the x values and the corresponding y values expressed in hundredths of an inch. The first type 3 card shows that when x is equal to 0, the sine of x is equal to 0, and the cosine of x is equal to 5.00. These are the actual dimensions on the graph paper. The programmer has chosen in this case to let five inches on the graph paper equal 1. 00 for the actual equation. Similarly, in the x direction, ten inches on the graph paper represents 2 If (3600).

1 1000 1000 0 0

o

-500 2 32 00 10

3 0 0 500 3 10 31 499 3 19 62 496 3 29 93 491 3 39 124 484 3 49 154 475 3 59 184 464 3 69 212 452 3 79 240 438 3 89 267 422 3 99 293 404 3 109 318 385 119 342 364 4 364 342

g 318

439 1 u 293 449 154 . 459 124 -4 469 93 -491 479 62 -496 489 31 -499 499 0 -500 509 -31 -499 519 -62 -496 529 -93 -491 539 -124 -484 549 -154 -475 559 -184 -464 69 -212 -452 - 240 -438 -422

I 4

Figure 3. Listing of input data cards for sine-cosine example.

(5)

The listing in Figure 3 does not show all the type 3 cards used to create the graph shown in Figure 4. One hundred sets of points were generated from the FORTRAN program in Figure 2. While the use of FORTRAN is at the programmer's discretion, the data input to AUTOPLOTTER is in FORTRAN fixed-point format.

Figure 4. Graphical output for sine-cosine example.

(6)

AUTOPLOTTER STATEMENTS

AUTOPLOTTER will accept six types of statements. The following is a more complete explanation of each type. All fields in all cards comprise five columns. Whenever a dimension is given, it is always expressed in hundredths of an inch.

TYPE 1 - SIZE STATEMENT

WWWW

HHHH LLLL

BBBB XXXX YYYY

T v

(XXXX, YYYYl

:r: :r:

:r: :I: LLLL

l~! _ _

- - - J

~I·~---wwww---~~~I

WWWW HHHH LLLL

BBBB

xxxx

YYYY

Width of the plotting paper.

Height of the plotting paper.

The left margin expressed as the distance from the left edge of the graph paper to the value of x assigned by XXXX of this statement.

The bottom margin expressed as the distance from the bottom of the graph paper to the value of y assigned by

YYYY

of this statement.

Value of x and y respectively, assigned to origin point.

Note: To keep graph from extending into margins, the

above values must not be greater than the lowest or minimum value assigned to x and y respectively in any type 3 state- ment.

(7)

- TYPE 2 - FILL STATEMENT TN

T

N

CR CR CR CR CR

One-digit code describing the plot according to the following:

o -

Points are to be plotted as discrete points, as in the type 3 cards, without automatic fill-in.

1 - Points are to be treated as the top ends of vertical bar graphs extending from the x axis.

2 - Points are to be treated as the right ends of horizontal bar graphs extending from the y axis.

3 - Points are to be connected by straight-line segments.

4 - Points are to be connected by a second -order curve fit, resulting in curved lines which pass through each point furnished.

The number of y values (maximum five) for each x value given.

CR Two-digit code to describe how each of the possible five curves defined by the y values is to be plotted:

C Points to be indicated by:

o -

crosses

1 - dots

R Color of ribbon to be used to print the points is:

o -

black 1 - red

(8)

TYPE 3 - POINT STATEMENTS

xxxx yyyy yyyy yyyy yyyy yyyy

These are the actual data cards for the points to be plotted. As many as five y values may be assigned to each x value. All values are given in hundredths of an inch. Each curve represented by a y value will print according to the corresponding CR code assigned in the fill statement.

TYPE 4 - LABEL STATEMENTS XXXX YYYY PR

This type card is used to position the label on the graph and to designate the color of ribbon to be used to print the label contained in the card immediately following:

xxxx

YYYY P

R

Location along x and y axis respectively where the first character is to be printed.

Printing plane:

o -

label is to run horizontally from the first character.

1 - label is to run vertically from the first character.

Color of ribbon to be used to print label is:

o -

black

1 - red

The label card that immediately follows each type 4 card may contain any of the 26 letters of the alphabet, the numerals 0 through 9, the period or the minus sign.

(9)

TYPE 5 - SCALE STATEMENTS

XXXX YYYY NNNN VVVV I I I I PR

The type 5 card has been provided for the special labels used to identify the plot at each inch mark.

xxxx

YYYY NNNN

VVVV 1111

P

R

Identifies the location of the low-order digit of the lowest value on the scale.

The actual number of scale numbers to be printed on the scale. (If a graph is ten inches high and is to have a scale number at each of the eleven inch marks, NNNN would be 11.) The actual values to be printed at the first scale mark.

The increment (amount) to be added to each scale number to obtain the next ascending scale number to be printed.

Printing Plane:

o -

scale is to run horizontally from the first value.

1 - scale is to run vertically from the first value.

Color of ribbon to be used to print the scale is:

o -

black 1 - red

TYPE 6 - ENDING STATEMENT

The type 6 card indicates the end of one graph to the program.

There are no program restrictions on the number of points per curve, the number of scales or labels per graph, or the number of different graphs which Inay be described by a single FORTRAN program.

The input to AUTOPLOTTER has been arranged to be easily produced by FORTRAN programs. One format statement can be used for all the output statements, except, of course, the labels. FORTRAN provides an easy mechanism for the programmer to generate the points to be plotted and to perform the necessary scaling.

(10)

EXAMPLE 2

The following example will illustrate the use of the IBM 1620 AUTOPLOTTER program to produce graphs of torque converter efficiency, input speed, torque, and speed ratio (all versus output RPM) from transmission dynamometer test data.

Figure 5 is a listing of the input data cards for AUTOPLOTTER. The output cards were processed through the modified 870 Document Writing System to create the graph illustrated in Figure 6. Note that this graph includes labels and scales.

+1+1100+1600 +270 +2 +44 +01 +11 +3 +0 +502 +0 +3 +100 +452 +300 +3 +200 +400 +535 +3 +300 +346 +675 +3 +400 +304 +755 +3 +500 +270 +810 +3 +600 +244 +835 +3 +700 +222 +845 +3 +800 +204 +840 +4 +100+1080 +00

+ 170 +0 +00 +10 +370 +0 +370 +135 +374 +265 +384 +392 +400 +500 +420 +600 +440 +685 +464 +755 +490 +820

+0

TRANSMISSION DYNAMOMETER DATA ANALYSIS +4 +100+1060 +00

TRANSMISSION NUMBER 1620-870.

+4 +100+ 1/0 20 +00 DATE 1-22

+4 +100+1000 +00

OPERATOR--SMITH SHIFT--2 +4 +100 +980 +01

CONVERTER OUTPUT TEMP 220 DEG F +4 +200 -40 +00

OUTPUT SPEED IN RPM +4 -180+1000 +11 EFFICIENCY IN PER CENT

+4 -80 +900 +11 TORQUE RATIO X 1000

+4 -180 +400 +10 SPEED RATIO

X

100

+4 -80 +300 +10 INPUT SPEED"

+5 +10 -20 +8 +0 +250 +00 +5 ·110 +0 +10 +0 +10 +10 +5 -10 +0 +10 +0 +500 +10 +6

Figure 5. Listing of input data cards to the 1620 AUTOPLOTTER.

(11)

J!+f~~++rrhH~++n-HH~~++H-rH++++++-rH-H

f-H,-I--+'++-I+-I

+++++-I-H'

+ - -

i+ -I--H-t-;-t--+-;-'H-t-1,-t-+-t+++-H t-t-H+-I-+-t--t-t-+--t--H- +-f-t-,-l+++-_ +--i--H_

, , -j' -:. j+_rlH~-'

+,-

-H-+-+++++ t-H..,.H-+-hf-H t-hH-f-H--H-H-f--H

-+ J -

-;t-'

-1-+ '

.. -~.,,-t'=-, be>f,,\++++-++-I-+-I-++++-+-+-I-H-t++-I=i , -' -

-:+ -Ff=+t',,--

'f++--i-+-T-+-I

- ~~, - +'-I"i-

-f

~H 1-++'-1 tt+--t-,-t-,rt-t-+"-j+--f+-t++-H-1t-t--1-t-+-H-++-,t--H-+-++++-+-H-1-1-t-~

H ; +-

+

H-I+B<I-H-I+H-I-++-t+-j-++++-t-t++H-+t-++ +-1+++-++-+-1-+;+ ±~+h

+t'-

~-t~t-~_-t_++~*H-++++H~+j-t-1++-++-HH-++++-t-1-t-t-+--It-I-_Hrl-+-t-+T4L,-t ,t-+,-~ -~-

-~I-""-- -,---t'-1

t-H+++++-Bl +-t-hH-+++++-+-hH-t-t-++-+-+-H-t--It-I--t-t +-Hrl-+-++++-H -l-!-t++-++-H-t-t-~-+++-;-t-H-H-+++

t-++-t-t-1-+-t-

t-H+t-t-++j-++-t~ ~j-t+' _

' +

-j-I--j--t-H-t-H-++-j-~+:j-,,;h;/+Ft-t- f-t-+++++++-+-++~+++' =t~-~

t f+I-++++-++f-+++-ri_-It-I-_+-t--H--+_~++~_hH++'H-t--t-t-t-1'+-I-~--~ t-f--t~+t-++~t-H-H-+++t-t-H-f-+--H-++H-f--t-f-H-++

H-I++++-t-/-j - , t' +++-+-t--H-t-t+++-+-t-H-t-+--±++-H-t-t+n--t-+-+~f_-~I_~I_ H,"--I-+'l-t-t++-+-Hri-1--H-t-H~+++-t-hH-++-f-t-t-Ft-H--I-

.. N I.! - -;+-t-H-H+++t-H i-hH-H-+++t-H-i-H+t-H-f-- ' I ' 'f'

H_++-+_'~~H-I++++++H-I-H'++++-H-I-+++++t-H-j-H-++-/-+-H-l-H++H- ~

- '. ,- - , _ t-t++-+-H-t-H-++++H-t

I-'HH-t-++++-~I-H-t-I-H-++-I--H

.. ,-t-+++-++-H-i'-F-+++++-H-i-+-+++-I-t ++++-+-,f-:!"-t-H--H-t-Hi-H++++t-Hr-H+++++-Hr-H++++t-Hi-H-H-++H-f-+-i-H++++H-l-+++++-I-t-t-le++-l

,

-j

R-Li~ :tt+-r~'

i~+ mr++t,

n' ,

t

++++ttt:l~tttttmm=mttt-l-1-t-+--l-t-t-1f-1

---+-i -I-H-++++-H-t-+-+-+-I-l -+-

+-

-+_ _,

_-l_;'>l~'!''''~

, - ,

"- ,_' -~:t

1 ff-'-+--'

I -r+-r-t-.lH-t-++++-+-t-t--H-t+++-+-t-t--H-++++H-rH-t-+++-+--f-,H-t-+++++-t-rH-t-+-+++-+-t-Hf-t--!-+- . - - -

, I

(12)

H20-4209

MACHINE CONFIGURATION

This program is available for either a card system or an eight-track paper tape system:

IBM 1620 DATA PROCESSING SYSTEM 1620 Central Processing Unit, Modell 1622 Card Read Punch, Modell (for cards) 1621 Paper Tape Reader, Modell (for tape) IBM 870 DOCUMENT WRITING SYSTEM 836 Contioi Unit, Modell (for cards) 834 Control Unit, Model 3 (for tape)

866 Non-Transmitting Typewriter, Model 5, with the following features:

• RPQ M02566 - complete set of special typebars for graph plotting (88 characters)

• RPQ M92212 - special line spacing of ten lines per inch

• Color control - special feature # 1975 or 1976

• Carriage:

12" standard

16" in lieu of standard - special feature #1801 20" in lieu of standard - special feature #1802 (depending on requirement for height of graph-y axis)

• Pin-feed platen

12" carriage - special feature #9506 1611 carriage - special feature #9507 20" carriage - special feature #9508

EXECUTION TIMES

A problem such as Example 2 takes one minute on the 1620 card system and six minutes on the 1620 paper tape system. Larger or smaller graphs

h~ve a proportionate effect on machine time. The time required by the 870 Document Writing System averages five to ten minutes per graph, depending on the number of points and labels furnished.

Note: For further information, contact your local IBM representative.

(13)

'700

650

600

550

500

C 450

o

R

R

T 400

o

R U

E 350

300 tORR TORQUE

B

250 M

E

p

200

150

BM[p

100

50

DYNAMOMETER DATA REDUCTION SAMPLE PLOT

TYP»CAl DATA SEi - HYPOTHETICAL ENGINE

1620 USERS GROUp ... 26 fEBRUARY 1962

~~.-•.• _.o:-__ , ..•• _

t,

l+~(f

' • • t+" • • (f • • • IIi!I'fJiI_{<O- • •

~

..

e

CORR BHP

..

"'

.

. 1.

350

325(

3001

275

250

225

200

150

75

50

25

Références

Documents relatifs

Seara, On the Steiner, geodetic and hull number of graphs, Discrete Math. Canoy, Jr., The Edge Steiner Number of a Graph, Bulletin of

Label the end vertices of an edge, say 2, of % 0 that is not common to % &amp; by distinct singleton sets so that 2 is mono-indexed and label the succeeding

Amongst the contributions four different interpretations of the changes in recent science and technology are to be distinguished: (1) that there is an epochal break; (2)

Values of Reynolds number and reduced velocity are changed and reduced order model associated to each case is used for other cases.. In the present study, the Reynolds number

33 – Moisture Management in Buildings / Gestion de l’humidité dans les bâtiments – 12 th CCBST/ 12 CCSTB Montréal, May 2009 Legend T = Temperature, °C RH = Relative humidity, % W

The location of the rake relative to the measurement area has little effect on the measured mean speed, but the particle concentration decreases as the distance is increased.

(A set of points in the plane is in convex position if it forms the vertex-set of a convex polygon.) We then consider the flip graph on the perfect matchings of a complete graph of

Moreover, Tucker has characterized the binary matrices that have the C1P by a set of forbidden submatrices (the number of vertices in the forbidden graph defines the size of the