Creating Graphics

Using Graphics Windows

placed on a window created by the DWINDOW command. Since the sides of the box are still 1000 units long, it outlines the limits of the window.

20

OUTPUT 723;"PU;PA 0,0;PD;"

Draw box.

30

OUTPUT 723;"PA 0,1000,1000,1000,1000,0,0,0;"

De￿ne window size and scale .

40

OUTPUT 723;"DWINDOW 400,400,0,1000,0,1000;"

 

50

OUTPUT

723;"PU;PA 0,0;PD;"

Redraw box.

60

OUTPUT

723;"PA 0,1000,1000,1000,1000,0,0,0;"

 

Use OR to position the window anywhere on the display. The OR command o￿sets coordinates of the window in the current scale units, as de￿ned by the SCALE command.

100

OUTPUT 723;"PU;PA 0,0;PD;"

Draw box.

110

OUTPUT 723;"PA 0,1000,1000,1000,1000,0,0,0;"

De￿ne window size .

120

OUTPUT 723;"DWINDOW 400,400,0,2000,0,2000;"

 

130

OUTPUT 723;"OR 500,500;"

O￿set window position.

140

OUTPUT 723;"PU;PA 0,0;PD;"

Redraw box.

150

OUTPUT 723;"PA 0,1000,1000,1000,1000,0,0,0;"

 

5-25