Book description
Provides usage information and examples for the Graph Template Language (GTL). The GTL is the underlying language for the default templates that are provided by SAS for procedures that use ODS Graphics. You can use the GTL either to modify these templates or to create your own highly customized charts and plots. Information covered includes how to combine language elements to build a custom graph, creating panels that contain multiple graphs, managing plot axes, using legends, modifying style elements to control appearance characteristics, and using functions, expressions, and conditional processing.
Table of contents
- Contents (1/2)
- Contents (2/2)
- About this Book
- Recommended Reading
-
Introduction to the Graph Template Language
- About the Graph Template Language
- Summary of the Graph Template Language Statements and Features
- Getting Started with the Graph Template Language
- Plots
-
Layouts
- Overview of the Graph Template Language Layouts
-
Creating Overlay Graphs Using the OVERLAY Layout
- The LAYOUT OVERLAY Statement
- Statements You Can Use in an OVERLAY Block
- Restrictions on Allowed Statements
- Restrictions on Statement Combinations
- Statement Order
- Managing Axes in OVERLAY Layouts (1/11)
- Managing Axes in OVERLAY Layouts (2/11)
- Managing Axes in OVERLAY Layouts (3/11)
- Managing Axes in OVERLAY Layouts (4/11)
- Managing Axes in OVERLAY Layouts (5/11)
- Managing Axes in OVERLAY Layouts (6/11)
- Managing Axes in OVERLAY Layouts (7/11)
- Managing Axes in OVERLAY Layouts (8/11)
- Managing Axes in OVERLAY Layouts (9/11)
- Managing Axes in OVERLAY Layouts (10/11)
-
Managing Axes in OVERLAY Layouts (11/11)
- Overview
- Axis Terminology
- How Plot Statements Affect Axis Construction
- Avoiding Plot Axis Conflicts
- Axis Line versus Wall Outline
- Axis Appearance Features Controlled by the Current Style
- Specifying Axis Options
- Axis Type
- Axis Data Range
- Axis Labels
- Axis Tick Values
- Axis Thresholds
- Axis Offsets
- LINEAR Axes
- DISCRETE Axes
- TIME Axes
- LOG Axes
- Avoiding Plot Data Conflicts
- Overlay Examples (1/3)
- Overlay Examples (2/3)
- Overlay Examples (3/3)
- Creating Overlay Graphs With Equated Axes Using the OVERLAYEQUATED Layout
- Creating Overlay 3-D Graphs Using the OVERLAY3D Layout
- Creating Gridded Graphs Using the GRIDDED Layout
-
Creating Lattice Graphs Using the LATTICE Layout
- The LAYOUT LATTICE Statement
- Defining a Basic Lattice (1/2)
- Defining a Basic Lattice (2/2)
- Managing Axes in LATTICE Layouts (1/2)
- Managing Axes in LATTICE Layouts (2/2)
- Adjusting the Sizes of Rows and Columns
- Adjusting the Graph Size
- Examples: Lattice Layout (1/3)
- Examples: Lattice Layout (2/3)
- Examples: Lattice Layout (3/3)
-
Creating Classification Panels Using the DATALATTICE and DATAPANEL Layouts
- About Classification Panels
- The LAYOUT DATALATTICE Statement
- The LAYOUT DATAPANEL Statement
- The LAYOUT PROTOTYPE Statement
- Distinction between DATAPANEL and DATALATTICE
- Organizing Panel Contents
- Managing Axes in DATALATTICE and DATAPANEL Layouts
- Controlling the Classification Headers
- Using Sidebars
- Controlling the Interactions of Classifiers (1/3)
- Controlling the Interactions of Classifiers (2/3)
- Controlling the Interactions of Classifiers (3/3)
- Using Non-computed Plots in Classification Panels
- Adding an Inset to Each Cell
- Using PROC SGPANEL to Create Classification Panels
- Examples: Data Lattice Layout and Data Panel Layout (1/2)
- Examples: Data Lattice Layout and Data Panel Layout (2/2)
- Creating Graphs With No Axis Using the REGION Layout
-
Text, Legends, and Insets
- Adding Titles, Footnotes, and Text Entries to Your Graph
-
Adding Legends to Your Graph
- Introduction to Legend Management
- General Legend Features (1/2)
- General Legend Features (2/2)
- Adding a Discrete Legend (1/4)
- Adding a Discrete Legend (2/4)
- Adding a Discrete Legend (3/4)
-
Adding a Discrete Legend (4/4)
- Placing the Legend
- Ordering the Legend Entries for a Grouped Plot
- Ordering the Legend Entries for Non-grouped Plots
- Arranging Legend Entries into Columns and Rows
- Controlling the Label and Item Size
- Adding and Removing Items from a Discrete Legend
- Merging Legend Items from Two Plots into One Legend
- Creating a Global Legend
- When Discrete Legends Get Too Large
- Adding a Continuous Legend (1/2)
- Adding a Continuous Legend (2/2)
-
Adding Insets to Your 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 (1/2)
- Adding Insets to Classification Panels (2/2)
- Creating Axis-Aligned Insets (1/3)
- Creating Axis-Aligned Insets (2/3)
- Creating Axis-Aligned Insets (3/3)
-
Custom Graphical Elements
- Adding Code-Driven Graphics Elements to Your Graph
- Adding Data-Driven Annotations to Your Graph
- Interactive Graphs
-
Graphical Output
-
Managing Your Graph’s Appearance
- Default Appearance Features in Graphs
- Methods for Changing the Appearance of Your Plots
- Using ODS Styles to Control Graph Appearance
- Using Options to Override Style Attributes
- Controlling the Appearance of Non-grouped Data
- Controlling the Appearance of Grouped Data (1/4)
- Controlling the Appearance of Grouped Data (2/4)
- Controlling the Appearance of Grouped Data (3/4)
-
Controlling the Appearance of Grouped Data (4/4)
- Plots That Support Grouped Data
- Using the Default Appearance for Grouped Data
- Using Custom Styles to Control the Appearance of Grouped Data
- Using a Discrete Attribute Map to Control the Appearance of Grouped Data
- Controlling the Appearance of Grouped Data for All Graphs in a Template
- Changing the Grouped Data Display
- Including Missing Group Values
- Changing the Grouped Data Order
- Making the Appearance of Grouped Data Independent of Data Order
- Using Attribute Maps (1/2)
- Using Attribute Maps (2/2)
- Attribute Rotation Patterns (1/2)
- Attribute Rotation Patterns (2/2)
- Using Transparency
- Using Data Skins
- Using Anti-Aliasing
- Using Subpixel Rendering
- Recommendations
-
Managing Your Graphics Output
- Introduction to ODS Graphics Output
- SAS Registry Settings for ODS Graphics
- ODS Destination Statement Options Affecting ODS Graphics
- ODS GRAPHICS Statement Options
- Controlling the Image Name and Image Format
- Controlling the Location of the Image Output
- Controlling Graph Size
- Scaling Graphs
- Controlling Image Resolution
- Creating a Graph That Can Be Edited
- Creating a Graph That You Can Import into Microsoft Office Applications
-
Managing Your Graph’s Appearance
-
Templates
- Executing Graph Templates
- Using Dynamics and Macro Variables In Your Templates
- Using Conditional Logic and Expressions In Your Templates
- Using Functions In Your Templates
- Sharing Your Custom Templates
- Modifying Predefined Templates
- Appendices
- Glossary (1/3)
- Glossary (2/3)
- Glossary (3/3)
- Index (1/5)
- Index (2/5)
- Index (3/5)
- Index (4/5)
- Index (5/5)
Product information
- Title: SAS 9.4 Graph Template Language, 3rd Edition
- Author(s):
- Release date: August 2014
- Publisher(s): SAS Institute
- ISBN: 9781629593128
You might also like
book
SAS 9.4 Language Reference, 6th Edition
Provides conceptual information for the Base SAS language. Major topics include SAS keywords and naming conventions, …
book
Getting Started with the Graph Template Language in SAS
You've just received a new survey of study results, and you need to quickly create custom …
book
Clinical Graphs Using SAS
SAS users in the Health and Life Sciences industry need to create complex graphs to analyze …
book
SAS Graphics for Clinical Trials by Example
Create industry-compliant graphs with this practical guide for professionals Analysis of clinical trial results is easier …