Language Reference

OR

OR

Set position of origin.

 

Item

 

Description

X-O￿set

Range

Determined

by SCALE or DWINDOW.

Y-O￿set

Range

Determined

by SCALE or DWINDOW.

Preset State

OR 0,0

 

Example Position a grid.

10

OUTPUT 723;"TRDSP TRA,OFF;"

Turn o￿ trace A.

 

20

OUTPUT

723;"CLRDSP;"

Clear graphics from memory.

Locate

 

 

 

origin at 0,0 (lower-left corner).

Set the

 

 

 

units for the X and Y scale to their preset

 

 

 

values , 0 to 1000.

 

30

OUTPUT

723;"OR 100,200;"

O￿set the origin 100 units horizontally

 

 

 

and 200 units vertically .

 

40

OUTPUT 723;"PD;GRID 20,40,5,10;"

Draw a grid. Its position is o￿set accord-

 

 

 

ing to OR (line 180).

 

Position a graphics window.

7-343