HP 7470A Interfacing And Programming Manual page 35

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

Advertisement

EXPLANATIONExecuting an SC command without parameters (SC;)
turns scaling off and subsequent parameters of plot commands are in­
terpreted as plotter units.
When parameters are used, all four parameters are required. Decimal
parameters in an SC command are truncated to integers. The param­
eters Xmin and Ymindefine the user-unit coordinates of P1, and the
parameters Xmaxand Ymaxdefine the user-unit coordinates of P2. P1
and P2 may be any two opposite corners of a rectangle. Scaling points
P1 and P2 retain the assigned user-unit coordinate values until scaling
is turned off or another SC command redefines their user—unitic0or—
dinate values. Therefore, the physical size of a user unit will change
when any change is made in the relative position and distance between
P1 and P2.
Specifying Xmax= Xminor Ymax=Yminor parameters less than -32 768
or greater than 32 767 will turn scaling off. An SC command must have
four or no parameters. Otherwise, error 2 will be generated. An SC
command which generates an error is ignored and the scaling does not
change.
The user-unit coordinate system that is mapped onto the plotter unit
coordinate system by the SC command is not limited to the rectangle
defined by P1 and P2; it extends over the entire plotting area. When
user-unit scaling has been established by executing an SC command
with parameters, decimal parameters of plot commands are not trun­
cated; the point 3.5,7.5 is distinct from the point 3.6,7.8. This is
different from some other HP plotters and makes plotting of noninteger
data much simpler.
It is not possible to 'scale an area such that P1 or P2 are assigned
values larger than 32 767 or less than -32 768. One way to plot data
with values beyond these limits is to reduce your data to acceptable
ranges by an arithmetic process before sending it to the plotter. Divid­
ing the data by some factor of 10 so that the integer portions fall
between ':32 767 and sending decimal plot parameters is probably the
easiest solution.
The illustrations which follow show the coordinate grids mapped onto
the plotting area as a result of executing the indicated commands when
the paper switch is set to us. In all cases, the points labeled at each
corner are just outside of the plotting area. If a PA command with these
parameters is sent to a plotter with the indicated scaling and the paper
switch set to us, the pen will move to the corner and lift, indicating the
point is outside the plotting area.
ESTABLISHING BOUNDARIES AND UNITS 2-7

Advertisement

Table of Contents
loading

Table of Contents