HP 7470A Interfacing And Programming Manual page 61

Graphics plotter
Hide thumbs Also See for 7470A:
Table of Contents

Advertisement

(—80,30) |- — — - — - - — - —— ­
(—80,—50)
START
1 CI
20
30
40
50
(—100,40)
Line 40 moves the pen to the point ~80,*50, draws a 90—degree C CW are
centered 0,80 units relative to the present pen position, then draws a
90—degree a re centered 80,0 units relative to the 0,30 absolute pen posi­
tion. Note that a pen down command, PD, is required to draw the arc.
(0,30)
' _ _ ' - " _ ' " - - -l (80,30)
(80,—50l
PRINTER IS 10
PRINT "IN;SF'1;IF'2B5C1,132S,?'6SCJ,E::3ZS;"
PRINT "s::—1oo,1oo,—1oo,1oo;"
PRINT "F'F1-100,40;F'D;F'F!Ei0,0;F1RO,-40,-E10;HR40,0,SO;PRB0,0_;F'U;"
END
In this example, line 40 moves the pen to the point -100,40, lowers the
pen, and plots 60,0 units relative to the previous pen position, -100,40.
It then draws a 90-degree CW are centered at 0,—40 units relative to the
new —40,40 pen position, and follows it with a 90—degreeCCW are
centered 40,0 units relative to the 0,0 pen position, the endpoint of the
first arc. Finally, it plots 60,0 units relative to the pen position 40,—40,
the endpoint of the second arc.
(100,—40J
CONTROLLING THE PEN AND PLOTTING 3-21

Advertisement

Table of Contents
loading

Table of Contents