HP 7470A Interfacing And Programming Manual page 87

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

Advertisement

If parameters are included, two parameters are re
quired, width and height. The defined width and height are interpreted
as a percentage of the algebraic distance between the X-or Y-coordinates
of P1 and P2. The parameters are in decimal format and may have any
value between -128 and 127.9999.An SR command with no parameters
will default to the values 0.75 for width and 1.5 for height, which, when
P1 and P2 are at default values, produces letters the same size as an SI
command without parameters.
An SR command remains in effect until another valid SI or SR com­
mand is executed or the plotter is initialized or set to default conditions.
An SR command which sets an error condition is ignored and the
character size does not change.
The following example shows how changes. in P1 and P2 affect labels »
drawn while an SR command is in effect. The upper label is written
with default character size. Then P1 and P2 are changed to define a
square area with 6000-plotter-unit sides. A new label is drawn. Next a
new SR command is executed with both width and height parameters
set to three percent. Because the area established by P1 and P2 is
square, equal parameters create square letters. With default P1 and P2
settings, equal parameters do not create square letters.
"IN;SP1;PH1OU,?00O;LBDEFHULT slzsa"
"IP 1000,1000,?OOO,?0OO;PH100,ESCOf
"LBNEw P1 awn P2 CHHHGE LHBEL SIZEE SR3,3;~
"PH100,BOOO;LBNEN
SR commsmna HCHHNGES LHBEL SIZEQ"
DEFAULT SIZE
lEIP1NIJP2Cl'WI£LAE|.SIZE
NEW SR' COMMAND
CHANGES LABEL. SIZE
Either negative SR parameters or switching the relative positions of P1
and P2 will produce mirror images of labels. Refer to The Absolute Size
Instruction, SI, and Parameter Interaction in Labeling Commands for
more information on mirroring.
With default P1 and P2, the useful range of width and height param­
eters which produces legible characters and a label of suitable length is
0.6 to 5.
LABELING 5-17

Advertisement

Table of Contents
loading

Table of Contents