Producing Graphs That Were Created with ODS Graphics Designer

The SGDESIGN procedure creates graphical output based on a graph file (SGD) that has been created by using the SAS ODS Graphics Designer application.
Here are the main features of the SGDESIGN procedure:
  • By default, the procedure uses the data set or data sets that are currently referenced by the SGD file.
  • The procedure can generate any graph type that can be created in the ODS Graphics Designer.
  • You can render the graph to any ODS destination by using standard ODS syntax. When it renders the graph, the procedure applies the style of the active destination rather than the style that was used in the SGD file.
  • As with all the ODS Graphics procedures, you can use the ODS GRAPHICS statement options to control many aspects of your graphics.
  • If the SGD file has been defined with dynamic variables, these variables can be initialized with the DYNAMIC statement of the procedure. You can use dynamic variables to generate the same graph with different data variables, a different data set, and different text elements.
  • The procedure supports SAS statements such as FORMAT, LABEL, BY, and WHERE. These statements can be applied only if the DATA= option is used with the procedure.
For more information about the SGDESIGN procedure and the procedure syntax, see SGDESIGN Procedure.