Chapter 8 P-Series Compatible Plot Mode (Odd/Even Dot Plotting)

Plotting the Data

P-Series Plot Mode plots the image from the horizontal bit pattern. Figure 34 duplicates the pattern shown in Figure 29 but is modified for Odd Dot Plot. Eight dot rows are required, two characters per row, six columns per character.

1

2

3

DOT 4

ROW 5

6

7

8

 

 

 

1st

 

 

 

 

2nd

 

 

 

1st

 

2nd

 

CHARACTER

 

 

CHARACTER

 

CHARACTER

CHARACTER

 

ODD COLUMNS

 

ODD COLUMNS

ASCII

DECIMAL

ASCII

DECIMAL

1

3

5

7

9

11

1

3

5

7

9

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

42

@

64

 

 

 

 

 

 

 

 

 

 

 

 

73

A

65

 

 

 

 

 

 

 

 

 

 

 

 

\

92

@

64

 

 

 

 

 

 

 

 

 

 

 

 

*

42

@

64

 

 

 

 

 

 

 

 

 

 

 

 

73

A

65

 

 

 

 

 

 

 

 

 

 

 

 

\

92

@

64

 

 

 

 

 

 

 

 

 

 

 

 

*

42

@

64

 

 

 

 

 

 

 

 

 

 

 

 

73

A

65

Figure 34. Odd Dot Plot Pattern Plan

The following program uses the Odd Dot Plot control code to produce the image. The image is printed 25 times as shown in Figure 35. An entire dot row is plotted in one printing pass. Consequently, the first row of all 25 images is printed in one pass, followed by the second row, etc., until all rows have been printed.

10LPRINT *Odd Dot Plot*

20FOR I=1 TO 8

30READ R1

40READ R2

50LPRINT CHR$(5);

60FOR N=1 TO 25

70LPRINT CHR$(R1);CHR$(R2);

80NEXT N

90LPRINT

100NEXT I

110DATA 42, 64, 73, 65, 92, 64, 42, 64, 73, 65, 92, 64, 42, 64, 73, 65

120LPRINT

Figure 35. Sample Odd Dot Plot

268

Page 268
Image 268
IBM 4400 manual Plotting the Data, Odd Dot Plot Pattern Plan