Contents
About
Title Page
What's New in the SAS 9.3 Graph Template Language
Fundamentals
Overview
Graph Template Language (GTL)
Basic Anatomy of an ODS Graph
Graphical Layouts
Plots
Axes
Legends
Flexible Templates
Output
About the Examples in This Documentation
Graph Block
BEGINGRAPH Statement
Description and Syntax
Example Program and Statement Details
Layout Statements
Summary of Layout Statements
Overview
Single-cell Layouts
Multi-cell Layouts
Data-driven Layouts
Legend Layout
LAYOUT DATALATTICE Statement
Description and Syntax
Example Program and Statement Details
LAYOUT DATAPANEL Statement
Description and Syntax
Example Program and Statement Details
LAYOUT GLOBALLEGEND Statement
Description and Syntax
Example Program and Statement Details
LAYOUT GRIDDED Statement
Description and Syntax
Example Program and Statement Details
LAYOUT LATTICE Statement
Description and Syntax
Example Program and Statement Details
LAYOUT OVERLAY Statement
Description and Syntax
Example Program and Statement Details
LAYOUT OVERLAYEQUATED Statement
Description and Syntax
Example Program and Statement Details
LAYOUT OVERLAY3D Statement
Description and Syntax
Example Program and Statement Details
LAYOUT PROTOTYPE Statement
Description and Syntax
Statement Details
LAYOUT REGION Statement
Description and Syntax
Example Program and Statement Details
Plot Statements
Key Concepts for Using Plots
Minimum Requirements to Generate a Plot
ODS Graphics Environment
Display Attributes
Location and Position of Curve Labels
BANDPLOT Statement
Description and Syntax
Example Program and Statement Details
BARCHART Statement
Description and Syntax
Example Program and Statement Details
BARCHARTPARM Statement
Description and Syntax
Example Program and Statement Details
BIHISTOGRAM3DPARM Statement
Description and Syntax
Example Program and Statement Details
BLOCKPLOT Statement
Description and Syntax
Example Program and Statement Details
BOXPLOT Statement
Description and Syntax
Example Program and Statement Details
BOXPLOTPARM Statement
Description and Syntax
Example Program and Statement Details
BUBBLEPLOT Statement
Description and Syntax
Example Program and Statement Details
CONTOURPLOTPARM Statement
Description and Syntax
Example Program and Statement Details
DENDROGRAM Statement
Description and Syntax
Example Program and Statement Details
DENSITYPLOT Statement
Description and Syntax
Example Program and Statement Details
DROPLINE Statement
Description and Syntax
Example Program and Statement Details
ELLIPSE Statement
Description and Syntax
Example Program and Statement Details
ELLIPSEPARM Statement
Description and Syntax
Example Program and Statement Details
FRINGEPLOT Statement
Description and Syntax
Example Program and Statement Details
HEATMAPPARM Statement
Description and Syntax
Example Program and Statement Details
HIGHLOWPLOT Statement
Description and Syntax
Example Program and Statement Details
HISTOGRAM Statement
Description and Syntax
Example Program and Statement Details
HISTOGRAMPARM Statement
Description and Syntax
Example Program and Statement Details
LINEPARM Statement
Description and Syntax
Example Program and Statement Details
LOESSPLOT Statement
Description and Syntax
Example Program and Statement Details
MODELBAND Statement
Description and Syntax
Example Program and Statement Details
MOSAICPLOTPARM Statement
Description and Syntax
Example Program and Statement Details
NEEDLEPLOT Statement
Description and Syntax
Example Program and Statement Details
PBSPLINEPLOT Statement
Description and Syntax
Example Program and Statement Details
PIECHART Statement
Description and Syntax
Example Program and Statement Details
REFERENCELINE Statement
Description and Syntax
Example Program and Statement Details
REGRESSIONPLOT Statement
Description and Syntax
Example Program and Statement Details
SCATTERPLOT Statement
Description and Syntax
Example Program and Statement Details
SCATTERPLOTMATRIX Statement
Description and Syntax
Example Program and Statement Details
SERIESPLOT Statement
Description and Syntax
Example Program and Statement Details
STEPPLOT Statement
Description and Syntax
Example Program and Statement Details
SURFACEPLOTPARM Statement
Description and Syntax
Example Program and Statement Details
VECTORPLOT Statement
Description and Syntax
Example Program and Statement Details
WATERFALLCHART Statement
Description and Syntax
Example Program and Statement Details
Plot Axes
Axis Features in Layouts
Overview
How Axis Features Are Determined
Controlling Axis Features
Axis Options for LAYOUT OVERLAY
Description and Syntax
Example Program and Statement Details
Axis Options for LAYOUT OVERLAY3D
Description and Syntax
Example Program and Statement Details
Axis Options for LAYOUT LATTICE
Description and Syntax
Example Program and Statement Details
Axis Options for LAYOUT OVERLAYEQUATED
Description and Syntax
Example Program and Statement Details
Axis Options for LAYOUT DATALATTICE/DATAPANEL
Description and Syntax
Example Program and Statement Details
Legend Statements
AXISLEGEND Statement
Description and Syntax
Example Program and Statement Details
CONTINUOUSLEGEND Statement
Description and Syntax
Example Program and Statement Details
DISCRETELEGEND|MERGEDLEGEND Statement
Description and Syntax
Example Program and Statement Details
LEGENDITEM Statement
Text Statements
Managing Text Items
Overview
Using Prefix Options
Using Text Commands
Reserved Keywords and Unicode Values
ENTRY Statement
Description and Syntax
Example Program and Statement Details
ENTRYFOOTNOTE Statement
Description and Syntax
Example Program and Statement Details
ENTRYTITLE Statement
Description and Syntax
Example Program and Statement Details
Draw Statements
Key Concepts for Using Draw Statements
Introduction
Example
Types of Elements That Can Be Drawn
About the Drawing Space and Drawing Units
How the Drawn Elements Are Anchored
About Drawing Layers
BEGINPOLYGON Statement
Description and Syntax
Example Program and Statement Details
DRAW Statement
BEGINPOLYLINE Statement
Description and Syntax
Example Program and Statement Details
DRAW Statement
DRAWARROW Statement
Description and Syntax
Example Program and Statement Details
DRAWIMAGE Statement
Description and Syntax
Example Program and Statement Details
DRAWLINE Statement
Description and Syntax
Example Program and Statement Details
DRAWOVAL Statement
Description and Syntax
Example Program and Statement Details
DRAWRECTANGLE Statement
Description and Syntax
Example Program and Statement Details
DRAWTEXT Statement
Description and Syntax
Example Program and Statement Details
Attribute Maps
DISCRETEATTRMAP Statement
Description and Syntax
Example Program and Statement Details
VALUE Statement
DISCRETEATTRVAR Statement
RANGEATTRMAP Statement
Description and Syntax
Example Program and Statement Details
RANGE Statement
RANGEATTRVAR Statement
Runtime Programming Features
Dynamics and Macro Variables
Template Types on PROC TEMPLATE
DYNAMIC, MVAR, and NMVAR Statements
Dynamics Compared to Macro Variables
Expressions
Overview
GTL Expressions Compared to WHERE Expressions
An expression in Statement Syntax
Functions
Overview
Functions Used Only in GTL
GTL Summary Statistic Functions
Conditional Logic
Overview
Conditional Logic Determines Statement Rendering
GTL Does Not Provide ELSE IF Syntax
Appendices
Syntax Conventions and Argument Value Types
Syntax Conventions
Value Types for Statement Options
Display Attributes
General Syntax for Attribute Options
Attributes Available for the Attribute Options
Available Line Patterns
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
Generalized Macro for BOXPLOTPARM Data
Memory Management for ODS Graphics
SAS Options Affecting Memory
Managing a Java Out of Memory Error
Glossary
Product
Release
Base SAS
9.3_M2
SAS/STAT
9.3_M1
Type
Usage and Reference
Copyright Date
August 2012
Last Updated
08May2013