Using SGD Files with the Graph Template Language

You do not need to know about the Graph Template Language (GTL) in order to use the designer. However, if you do know details of the GTL, you can use the code that is generated for an SGD file to design custom templates.
Here are the main steps:
  1. In ODS Graphics Designer, select the graph to make it active. Then select Viewthen selectCode. A window appears and displays the code for the graph.
  2. To copy the code, select the portion of the code that you want, and then select Editthen selectCopy.
    Tip
    To select the entire code, select Editthen selectSelect All.
    You can now paste the code into SAS and customize the graph template using the GTL.
  3. To save the code as a SAS program, select Filethen selectSave As. Then specify the location and filename for the code.
  4. Select Viewthen selectCode again to close the code window, or click the Close button Close button in the window.