This chapter
provides an overview of how graphs are created with the GTL and a
brief discussion of what is going on behind the scenes. All the examples
are completely coded. You can copy and paste these programs into an
editor of a SAS Session (beginning in SAS 9.2) and follow the steps
as they are described.
-
Use PROC
TEMPLATE to define a STATGRAPH template with GTL syntax. Compile and
save this template.
-
Create
the graph by running the SGRENDER procedure to associate the appropriate
data with the template.