Contents Previous Next Subchapters

Graphics Windows

The graphics windows display the plots created by graphics commands. Initially, only one graphics window appears, Graphic 0, but unlike the Command and Debugger windows, more graphics windows can be added by using the gaddwin command. Graphics windows can also be divided into multiple areas, called viewports , which allows more than one plot to occupy a single graphics window.

If at the O> prompt you enter
     x = 0. : .1 : 2 * pi
     y = sin(x)
     gplot(x, y)
O-Matrix will draw the following plot in the Graphic 0 window:

To print the contents of the current graphics window, select the File | Print menu item, choose the Print Current Graphic radio button and then select Print.