Language Reference

IT

Description The IT command activates the reference-graphics mode by assigning a nonzero number to a series of graphics commands that form a shape. These

shapes are called items. Use IT to blank, redraw, reshape, or reposition items. Graphics drawn when the reference-graphics mode is o￿ cannot be modi￿ed at a later time. Execute IT 0 to turn the mode o￿. Manipulate an item by ￿rst activating it with IT, then modify it with the commands listed in the following table.

Commands that Modify Graphics Items

 

Command

 

Function

VW OFF (view item o￿)

Blank item

 

VW ON (view item on)

Redraw

item

 

OR

(origin)

O￿set item position

TP

(pointer)

Change

item

shape

DELETE

Delete

item

from memory

When assigned a non zero number, items are stored in memory for future display and manipulation. Execute CLRDSP to clear items from memory. (DISPOSE does not clear items from memory.) In addition to point-by-point drawing, items can be used to display text, grids, markers, or trace information. The commands associated with these tasks are divided into groups listed in the following table.

Commands Assignable to Items with the IT command.

 

 

Task

Description

 

 

 

 

Plot absolute , point-b y-point drawing

P A,

PD,

PU

Plot-relative ,

point-b y-point drawing

PR,

PD,

PU

Displa y trace

data

GRAPH

 

Draw grid

 

GRID

 

Displa y

text

 

TEXT,DSPLY

Displa y

graphics marker

MK

 

 

A single item can be assigned to do only one task. For example, a single item cannot draw a box and display text. In this case, two items are required, one for the box and another for the text. Mixing item types generates a display error indicated by \E" in the display status box. For example, IT 1; PA 0,0,100,100;MK 100,100; generates an error in the display.

7-184