Spacing B E T W E E N Characters; The Character Plot Instruction, Cp - HP 7470A Interfacing And Programming Manual

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

Advertisement

)
^
)
MIKiyi The instruction can be used to change the direction of lettering
from its default direction, horizontal, to a direction which is relative to
P1,P2 settings. It is useful when creating graphs which will be plotted
in several sizes and you want labels to have the same relationship to
the data on all plots.
DR
run, rise
terminator
DR
run, rise
or
terminator
alu
1
Run and rise are in decimal format, 0 to ±127.9999,
and specify the label direction according to the same relationship
specified in The Absolute Direction Instruction, DI.
Run and rise specify a percentage of the algebraic distance between P I
and P2 where run is the desired percentage (-128 to 127.9999) of
P2
X
- Plx , rise is the desired percentage (-128 to 127.9999) of P2
y
- P l
y
,
and PI and P2 are the scaling points.
If you imagine the current pen position to be the origin, the sign of the
parameters determines in which quadrant the lettering will be. In the
example below, rise and run assume all combinations of ±1 with
default P I and P2.
-RUN
&/■
+RISE
" ' '
Q
-RUN
-RISE
J>
<•>'
<<>
+RUN
v
+RISE
"Zc
%
+RUN
-RISE
/
s,
'
J
A,
Specifying both parameters as zero will set error 3, and having only
one or more than two parameters will set error 2. The plotter will ignore
such instructions.
Spacing B e t w e e n Characters
EI
a
Character spacing and line spacing are functions of character size. In
the diagram below, you can see the relative position of a character, in
this case M, within the character space. The character-space field is set
indirectly by the SI command, since the character space height is twice
the character's height and the character-space width is IV2 times the
character's width. The space above and beside a drawn character be­
comes the spacing between lines and characters. The character space is
illustrated below.
CHARACTER
SPACE WIDTH - W
f5~4 fij
CHARACTER
HEIGHT = 0.5 H
E^a
CHARACTER
SPACE
HEIGHT = H
\
CHARACTER
STARTING
POINT
CHARACTER
WIDTH
= 0.67 W
STARTING POINT
OF NEXT
CHARACTER
When you specify the height of a character in an SI or SR command,
however, you should specify the character height, not the height of a
character space.
The Character Plot Instruction, CP
K,' 1 IS
A change in PI or P2 will affect the direction of lettering. Refer to the
■"•-
m
"
'
section Parameter Interaction in Labeling Commands.
A DR command remains in effect until another DR or DI command or
|pr™U 11^
an IN or DF command or front-panel initialization is executed.
A DR command with no parameters will default to the values DR 1, 0
(horizontal).
12 LABELING
The character plot instruction, CP, moves the pen the
specified number of character-space fields.
HKlW The instruction can be used to move the pen any number of
character spaces or lines from a point on the plotting surface, to align
with a left-hand margin, or to center or right-justify a label. Thus, the
LABELING
5-13

Advertisement

Table of Contents
loading

Table of Contents