08.12.2012 Views

Systems Reference Library IBM 1130/1800 Plotter Subroutines

Systems Reference Library IBM 1130/1800 Plotter Subroutines

Systems Reference Library IBM 1130/1800 Plotter Subroutines

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Graphs, curves, chart s , et c . , c an be developed<br />

by programming the appropriate instructions to the<br />

plotter.<br />

Because of the relative slowness of the plotter,<br />

compared with the computer, t he plot t er system has<br />

a buffering scheme which holds plot t er instructions<br />

unt il they are executed. T h i s leaves the computer<br />

f ree to do ot her jobs while the actual plot t ing is<br />

being completed.<br />

SUBROUTINE FUNCTI ONS<br />

There are s ix primary functions of the plot t er<br />

subroutines described in this manual.<br />

• Sc ale: Ac c ept s and stores scaling inf ormat ion<br />

required by the grid, plot and character functions.<br />

• G r i d : Dr a ws a line wit h scaled grid marks.<br />

• P l o t : Mov es the pen f rom it s present position<br />

to a new position. I t can also rais e or lower<br />

the pen either before or after the t rav ers e<br />

movement.<br />

• P o i n t : Dr a ws a special point character at the<br />

present location of the pen, i f the pen is down.<br />

Subroutine<br />

SCALE<br />

GRID<br />

PLOT<br />

POINT<br />

CHARACTER<br />

ANNOTATION<br />

(WRITE)<br />

Up and down status o f pen<br />

on execution<br />

Co-ordinates of pen on execution<br />

Required Before After Before After<br />

not applicable (n. a)<br />

(n. a)<br />

(n. a)<br />

down<br />

(<br />

,<br />

4<br />

(n. a)<br />

a<br />

)<br />

(xi. a)<br />

up<br />

user specification<br />

down<br />

• Figure 2. P e n status changes effected by the subroutines.<br />

2<br />

up<br />

up<br />

present position (p. p)<br />

(origin is established)<br />

(n. a)<br />

(p.p)<br />

(P• P)<br />

(P. P)<br />

those given to<br />

CHARACTER<br />

The point characters available are +, x , A ,<br />

7 , and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!