Language Reference |
opens a graphics segment
A nonzero value for replace indicates that the new segment should replace the first found segment with the same name, and zero indicates otherwise. If you do not specify the replace flag, the flag set by a previous GSTART call is used. By default, the GSTART subroutine sets the flag to NOREPLACE.
The description is a text string of up to 40 characters that you want to store with the segment to describe the graph.
Two graphs cannot have the same name. If you try to create a segment - say, PLOT_A - twice, the second segment is given a name generated by IML.
To open a new segment named COSINE, set replace to replace a like-named segment, and attach a description to the segment. Use the following statement:
call gopen('cosine',1,'Graph of Cosine Curve');
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.