Contents Previous Next Subchapters

Updating The Current Graphic Window
Syntax gupdate
See Also gplot

Description
Redraws the current graphics window. While processing a sequence of commands (such as those in a "begin/end" block), O-Matrix does not normally update the current graphics window. Adding gupdate to a sequence of commands causes O-Matrix to redraw the current graphics window in the middle of the sequence. (The current graphics window is automatically redrawn before another graphic window becomes current.)

Example
If you enter
     clear
     for i = 1 to 5 begin
          gplot(seq(2) + i)
          gupdate
          sleep(1)
     end
O-Matrix will plot five lines, with one second of delay between each line, in the Graphic 0 window.