The Relative Character Size Instruction, Sr - HP 7470A Interfacing And Programming Manual

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

Advertisement

' S I 1 , 1 . 5 ; L B ? 4 ? O R V
)
)
)
)
)
.
Negative SI parameters will produce mirror images of labels. A nega-
J
tive SI width parameter will mirror labels in the right-to-left direction.
)
x
COMMAND
RESULTING LABEL
_
i
. _
" S I - . 3 5 , .6;LBHPV
C j l l
9*P. ,T3
\
A negative height parameter will mirror labels in the top-to-bottom
E £ - l — ^ 3
'
direction.
™ - , — r j
)
COMMAND
RESULTING LABEL
)
" S I . 3 5 , - . 6 ; L B H P V
|_J L
)
)
)
)
"SI-.3.5,-.6;LBHPV'
111
Two negative SI parameters will mirror the label in both directions and
the label will appear to be rotated 180 degrees.
COMMAND
RESULTING LABEL
. 1
For further information on the effects of negative parameters, refer to
the section Parameter Interaction in Labeling Commands later in this
)
chapter.
\
In order to produce legible characters, parameters should be greater
than Q.l. Parameter values above 18 allow a maximum of one character
to be drawn on the paper.
Ev3
)
gn
3
T h e Relative Character Size
g~i —^
instruction, SR
E H - 3
The relative character size instruction, SR, specifies the
size of characters and symbols as a percentage of the distance between
)
scaling points P i and P2.
I
l*ElTl
The instruction can be used to define character size relative to
p i n l ^
I
the distance between P i and P2 so that if the P1.P2 distance changes,
1
character size will adjust to occupy the same "relative" amount of
. j
)
space.
^ l l ' i ' x j
)
ftWIfiEi
SR width, height terminator
1
\
Kija
>
SR terminator
""-^ j [ » 3
o-16 LABEUNG
l f f i ~ T 3
)
imifliiKllHul
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 P i 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
P I and P2 are a t default values, produces letters the same size as a n 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 a n error condition is ignored and t h e
character size does not change.
The following example shows how changes in P i and P2 affect labels
drawn while a n SR command is in effect. The upper label is written
with default character size. Then P i 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 t h e area established by P I and P2 is
square, equal parameters create square letters. With default P I and P 2
settings, equal parameters do not create square letters.
" I N ; S P 1 ; P R 1 0 0 , 7 0 0 0 ; L B D E F A U L T
S l Z E V
" I P
1 0 0 0 , 1 0 0 0 , 7 0 0 0 , 7 0 0 0 ; PFI1 0 0 , 6 5 0 0 ; "
"LBNEW P1 AND P2 CHANGE LABEL S I Z E K S R 3 , 3 J "
" P f l 1 0 0 , 6 0 0 0 ; L B N E W
SR COMMANDS,
l
rCHANGES L A B E L
S I Z E V
DEFAULT SIZE
MEW P I AND P 2 CHANGE LABEL SIZE
NEW SR
COMMAND
CHANGES
L A B E L
S I Z E
Either negative SR parameters or switching the relative positions of P I
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 P I 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.
LABEUNG 5-17

Advertisement

Table of Contents
loading

Table of Contents