Language Reference
GRAPH
GRAPH | Draw trace information inside a window created with the DWINDOW |
| command. |
Item | Description |
|
|
| 3 {2048 position units. | Default for | TRA, TRB, | TRC is 800 position | units. | |||||
|
| For linear trace data, 0 | { 10,000 | measurement | units. |
|
|
| ||||
|
|
|
|
| For logarithmic data, { | 32,768 { | +32,767 measurement | units. |
|
| ||
|
|
|
|
|
|
|
|
|
|
| ||
Example | 10 | OUTPUT | 723;"CLRDSP;" | Clear | graphics | from | memory. | Reset | ||||
|
|
|
|
|
| origin | to 0,0 and scale to 0 to 1000 for | |||||
|
|
|
|
|
| X and Y. |
|
|
|
| ||
| 20 | OUTPUT | 723;"IWINDOW 1000,600;" | Reduce size of analyzer trace and graticule . | ||||||||
| 30 | OUTPUT | 723;"MXMH | TRA;" | Retain maximum values of trace A. | |||||||
| 40 | OUTPUT | 723;"OR 0,600;" | Set origin to 0,600. |
|
|
| |||||
| 50 | OUTPUT | 723;"LINET | 7;" | Select line size for drawing. |
|
| |||||
| 60 | OUTPUT 723;"PD;GRID 100,30,10,10;" | Draw grid. |
|
|
|
| |||||
| 70 | OUTPUT 723;"DWINDOW 1000,300,TRA;" | Create a window scaled to display | |||||||||
|
|
|
|
|
| trace A. |
|
|
|
| ||
| 80 | OUTPUT 723;"TS;" |
|
| Sweep trace A. |
|
|
|
| |||
| 90 | OUTPUT 723;"LINET;" | Select solid line for drawing. |
|
| |||||||
| 100 OUTPUT 723;"PU;PA 1,TRA[1];" | Place pen at starting point of trace A. | ||||||||||
| 110 OUTPUT | 723;"PD;GRAPH TRA;" | Place pen down and draw trace A in | |||||||||
|
|
|
|
|
| window (at top of display). |
|
| ||||
| 120 OUTPUT | 723;"CLRW | TRB;" | Measure with | trace B (in active area | |||||||
|
|
|
|
|
| at bottom of display). |
|
|
| |||
| 130 OUTPUT 723;"BLANK TRA;" | Blank trace A. |
|
|
|
|