Language Reference

OR

10

OUTPUT 723;"CLRDSP;"

Clear graphics from memory .

20

OUTPUT 723;"OR 100,500;"

O￿set the origin 100 units horizontally

 

 

and 500 units vertically .

30

OUTPUT 723;"DWINDOW 100,500,TRA;"

De￿ne a graphics window , scaled to trace-

 

 

A parameters .

40

OUTPUT 723;"PD;GRAPH TRA;"

Draw trace A inside the window .

50

PAUSE

Observe display , then press CONTINUE

 

 

on computer keyboard.

60

OUTPUT 723;"DWINDOW OFF;"

Turn o￿ the window .

Position a graphics item.

10

OUTPUT 723;"BLANK TRA;"

Blank trace A.

 

20

OUTPUT 723;"CLRDSP;"

Clear graphics from memory .

30

OUTPUT

723;"IT

1;VW OFF;"

Address item 1 and blank

it.

40

OUTPUT 723;"TEXT$Item 1$;"

De￿ne item 1 as text.

 

50

OUTPUT

723;"OR

700,200;"

O￿set origin by 700 units

horizontally and

 

 

 

 

200 units vertically .

 

60

OUTPUT

723;"VW

ON;"

Display item.

 

Description

See Also

The OR command o￿sets the position of graphics on the display relative to P1, in the current scale units set by the SCALE or DWINDOW command.

Use OR to position items created with the IT command or to position new coordinate systems (graphics window) created with the window command,

DWINDOW.

SCALE, DWINDOW, IWINDOW, IT, PA, PR

7-344