Agilent Technologies 8566B Operating And Programming Manual page 402

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

PR
Item
INTEGER
The PR command specifies a plot location on the CRT relative to the last plot point coordinates. Vector coordinate
sets (x,y pairs) following the PR command can be either positive or negative, depending on the direction the
individual vectors are to be drawn. PU (pen-up) and PD (pen-down) commands tell the analyzer to draw or not
draw the vectors on the CRT display.
A typical use of the PR command is shown in the sample program below.
10
ASSIGN @Sa TO 718
20
OUTPTJT @Sa;"IP;A4;KSm;KSo;"
30
FOR X = 200 TO 800 STEP 200
40
OUTPUT @Sa;"PUPA",X,l,l*X
50
60
70
STOP
80
Rectangle: !
90
OUTPUT @Sa;"PD PR 300,0,0- 200,- 300,0,0,200"
100 RETTJRN
110 END
Line 20:
Presets the analyzer and clears the display.
Line 40:
PA (plot absolute) command defines the starting point for the three rectangles to be drawn on the
CRT display.
Line 90:
PD (pen-down) command tells the analyzer to display the vectors drawn in accordance with the
vector coordinates (x,y pairs) that follow the PR command. Vectors are then drawn to the four
corners of the current rectangle.
Description/Default
Represents CRT beam x and y coordinates, in
display units, relative to the last beam position.
X
Range Restriction
PR
Plot Relative
I
Programming 293

Advertisement

Table of Contents
loading

Table of Contents