Previous Page | Next Page

The SGDESIGN Procedure

Overview

The SGDESIGN procedure produces a graph from one or more input SAS data sets and a user-defined ODS Graphics Designer (SGD) file. The SGD file is created with the SAS/GRAPH ODS Graphics Designer application.

You can render the graph to any ODS destination. For example, the following code generates HTML output for a graph named CarsLattice.sgd.

ods html file="CarsLattice.html";
   proc sgdesign sgd="CarsLattice.sgd";
run;
ods html close;

CarsLattice Output

[CarsLattice Output]

Note:   The procedure applies the style of the active destination rather than the style that is currently defined in the SGD file.  [cautionend]

By default, the SGDESIGN procedure uses the data set or data sets that are currently defined in the SGD file. If the SGD file has been defined with dynamic variables, then you can substitute a different value for a variable by using the DYNAMIC statement. For more information, see Dynamic Variable Concepts.

Previous Page | Next Page | Top of Page