Language Reference


GSHOW Call

CALL GSHOW ( <segment-name> );

The GSHOW subroutine is a graphical call that displays a window. If you do not specify segment-name, the GSHOW subroutine displays the current graph. This call is part of the traditional graphics subsystem, which is no longer being developed.

If the current graph is active at the time that the GSHOW subroutine is called, it remains active after the call; that is, graphics primitives can still be added to the segment. On the other hand, if you specify segment-name, the GSHOW subroutine closes any active graphics segment, searches the current catalog for a segment with the given name, and then displays that graph. Examples of valid statements follow:

call gshow;
call gshow("plot_a5");

seg = {myplot};
call gshow(seg);

See ChapterĀ 16 for examples that use the GSHOW subroutine.