Contents
About
Title Page
ODS Graphics
Overview of ODS Graphics
Automatic Graphics from SAS Analytical Procedures
Modifying Templates for Automatic Graphs
Editing Graphs Using the ODS Graphics Editor
Creating Graphs Using the SAS Statistical Graphics Procedures
Creating Graphs Using the SAS ODS Graphics Designer
The Graph Template Language
Sample of ODS Graphics Output
Quick Start
Steps for Creating a Graph Using GTL
About the Examples in this Documentation
Creating a Graph Template
Executing the Template to Produce the Graph
Managing the Graphical Output
Overview of Basic Statements and Options
Introduction to GTL Statements
Categories of Statements
Features Supported by Layout, Legend, and Text Statements
Features Supported by Many Plot Statements
Using a Simple Single-cell Layout
About the Single-Cell Layouts
The LAYOUT OVERLAY Statement
Common Overlay Combinations
How Plots are Overlaid
The LAYOUT REGION Statement
Managing Axes in an OVERLAY Layout
Introduction to Axis Management
Axis Terminology
How Plot Statements Affect Axis Construction
Specifying Axis Options
Default Axis Construction and Related Options
LINEAR Axes
DISCRETE Axes
TIME Axes
LOG Axes
Axis Line versus Wall Outline
Axis Appearance Features Controlled by the Current Style
Managing Graph Appearance: General Principles
Default Appearance Features in Graphs
Evaluating Supplied Styles
Attributes as Collections of Related Options
Appearance of Non-grouped Data
Appearance of Grouped Data
Data Skins
Recommendations
Adding and Changing Text in a Graph
Text Strings in Graphs
Text Properties and Syntax Conventions
Text Statement Basics
Managing the String on Text Statements
Using Options on Text Statements
ENTRY Statements: Additional Control
Adding Legends to a Graph
Introduction to Legend Management
General Legend Features
Features of Discrete Legends
Features of Continuous Legends
Using a Simple Multi-cell Layout
The LAYOUT GRIDDED Statement
Defining a Basic Grid
Building a Table of Text
Sizing Issues
Using an Advanced Multi-cell Layout
The LAYOUT LATTICE Statement
Defining a Basic Lattice
Creating Uniform Axes across Rows or Columns
Defining a Lattice with Additional Features
Adjusting the Graph Size
Using Classification Panels
Introduction to Classification Panels
Organizing Panel Contents
Setting Panel Axis Features
Controlling the Classification Headers
Using Sidebars
Controlling the Interactions of Classifiers
Using Non-computed Plots in Classification Panels
Adding an Inset to Each Cell
Using PROC SGPANEL to Create Classification Panels
Using an Equated Layout
The LAYOUT OVERLAYEQUATED Statement
Basic Display Features of Equated Plots
Using 3-D Graphics
The LAYOUT OVERLAY3D Statement
Basic Display Features of 3-D Graphs
Data Requirements for 3-D Plots
Using Dynamics and Macro Variables to Make Flexible Templates
Introduction to Dynamics and Macro Variables
Declaring Dynamics and Macro Variables
Referencing Dynamics and Macro Variables
Initializing Dynamics and Macro Variables
Special Dynamic Variables
Using Conditional Logic and Expressions
Constructs Available for Run-time Programming
Expressions
Functions
Conditional Logic
Adding Insets to a Graph
Uses for Insets in a Graph
Creating a Simple Inset with an ENTRY Statement
Creating an Inset as a Table of Text
Positioning an Inset
Creating an Inset with Values that are Computed in the Template
Creating an Inset from Values that are Passed to the Template
Adding Insets to a SCATTERPLOTMATRIX Graph
Adding Insets to Classification Panels
Creating an Axis-Aligned Inset with a Block Plot
Managing the Graph Appearance with Styles
ODS Style Templates
Changing Fonts in a Style Template
Controlling ODS Search Paths
Changing Box Plot Display
Adding Non-Data-Driven Graphics Elements to a Graph
Overview: Adding Non-Data-Driven Graphics Elements to a Graph
Selecting the Drawing Space and Units
How the Graphics Elements are Anchored
Adding Graphics Elements to your Graph
Executing Graph Templates
Techniques for Executing Templates
Minimal Required Syntax
Managing the Input Data
Initializing Template Dynamics and Macro Variables
Managing the Output Data Object
Managing Graphical Output
Introduction to ODS Graphics Output
SAS Registry Settings for ODS Graphics
ODS Destination Statement Options Affecting ODS Graphics
ODS GRAPHICS Statement Options
Common Tasks
Creating Shared Templates
SAS Keywords for Unicode Glyphs
Greek Letters
Special Characters
Graph Style Elements for GTL
About the Graphical Style Elements
General Graph Appearance Style Elements
Graphical Data Representation Style Elements (Non-Grouped Data)
Graphical Data Representation Style Elements (Grouped Data)
Display Style Elements
Values for Marker Symbols and Line Patterns
Values for Marker Symbols
Values for Line Patterns
Tick Value Fit Policy Applicability Matrix
SAS Formats Not Supported
Using SAS Formats
Unsupported Numeric Formats
Unsupported Date and Time Formats Related to IS0 8601
Other Unsupported Date and Time Formats
Unsupported Currency Formats
SAS Options Affecting Memory
ODS Graphics and SAS/GRAPH
Glossary
Product
Release
Base SAS
9.3
SAS/STAT
9.3
Type
Usage and Reference
Copyright Date
July 2011
Last Updated
22Jun2011