Contents
What’s New xv
Overview xv
The SAS/GRAPH Statistical Graphics Suite xv
The SAS/GRAPH Network Visualization Workshop xvi
Support for Multiple Open ODS Destinations xvii
Support for ODS Styles xvii
Devices xvii
Colors xviii
Fonts and Font Rendering xviii
Changing the Appearance of Output to Match That of Earlier SAS Releases xix
Procedures xix
Global Statements xxiii
Graphics Options xxiv
Transparent Overlays xxiv
ActiveX Control xxiv
Java Map Applet xxiv
Java Tilechart Applet xxiv
The Annotate Facility xxv
New Map Data Sets xxv
Updated Map Data Sets xxv
Map Data Set Descriptions xxx
New Data Set for Military ZIP Codes xxx
Changes in SAS/GRAPH Documentation xxx
P A R T 1 SAS/GRAPH Concepts 1
Chapter 1 􀀀 Introduction to SAS/GRAPH Software 3
Overview 4
Components of SAS/GRAPH Software 4
Device-Based Graphics and Template-Based Graphics 6
Graph Types 6
About this Document 23
Conventions Used in This Document 24
Information You Should Know 27
Chapter 2 􀀀 Elements of a SAS/GRAPH Program 31
Overview 31
A Typical SAS/GRAPH Program 31
Chapter 3 􀀀 Getting Started With SAS/GRAPH 39
Introduction 39
Introduction to ODS Destinations and Styles 40
Generating Output With SAS/GRAPH Procedures 43
Controlling the Graphics Output Format With the DEVICE= Option 48
Summary of Default Destinations, Styles, and Devices 49
Sending Output To Multiple Open Destinations 51
Related Topics 52
Chapter 4 􀀀 SAS/GRAPH Processing 53
Running SAS/GRAPH Programs 53
SAS Data Sets 54
Specifying an Input Data Set 54
Using Engines with SAS/GRAPH Software 56
RUN-Group Processing 56
Chapter 5 􀀀 The Graphics Output Environment 59
Overview 59
The Graphics Output and Device Display Areas 59
Controlling Dimensions 60
Controlling Display Area Size and Image Resolution 61
Units 62
Maintaining the Quality of Your Image Across Devices 65
How Graphic Elements are Placed in the Graphics Output Area 65
How Errors in Sizing Are Handled 66
Chapter 6 􀀀 Using Graphics Devices 67
Overview 67
What Is a SAS/GRAPH Device? 68
Commonly Used Devices 68
Default Devices For ODS Destinations 69
Viewing The List Of All Available Devices 71
Deciding Which Device To Use 71
Overriding the Default Device 72
Device Categories And Modifying Default Output Attributes 72
Using Universal Printer Shortcut Devices 75
Using Scalable Vector Graphics Devices 77
Viewing and Modifying Device Entries 85
Creating a Custom Device 86
Related Topics 86
Chapter 7 􀀀 SAS/GRAPH Output 87
About SAS/GRAPH Output 88
Specifying the Graphics Output File Type for Your Graph 91
The SAS/GRAPH Output Process 93
Setting the Size of Your Graph 94
Setting the Resolution of Your Graph 95
Controlling Where Your Output is Stored 97
Option 104
Storing Multiple Graphs in a Single Graphics Output File 104
Replaying Your SAS/GRAPH Output 106
Previewing Output 109
Printing Your Graph 109
Exporting Your Output 110
Chapter 8 􀀀 Exporting Your Graphs to Microsoft Office Products 111
What to Consider When Choosing an Output Format 111
Comparison of the Graphics Output 114
Enhancing Your Graphs 118
Importing Your Graphs into Microsoft Office 118
Chapter 9 􀀀 Writing Your Graphs to a PDF File 121
About Writing Your Graphs to a PDF File 121
Changing the Page Layout 122
Adding Metadata to Your PDF File 122
Adding Bookmarks for Your Graphs 122
Changing the Default Compression Level for Your PDF File 123
Examples 123
Chapter 10 􀀀 Controlling The Appearance of Your Graphs 131
Overview 131
Style Attributes Versus Device Entry Parameters 132
About Style Templates 133
Specifying a Style 137
Overriding Style Attributes With SAS/GRAPH Statement Options 138
Precedence of Appearance Option Specifications 139
Viewing the List of Styles Provided by SAS 139
Modifying a Style 140
Graphical Style Element Reference for Device-Based Graphics 142
Turning Off Styles 151
Changing the Appearance of Output to Match That of Earlier SAS Releases 152
Chapter 11 􀀀 Specifying Fonts in SAS/GRAPH Programs 153
Introduction: Specifying Fonts in SAS/GRAPH Programs 153
SAS/GRAPH, System, and Device-Resident Fonts 153
TrueType Fonts That Are Supplied by SAS 154
Determining What Fonts Are Available 155
Default Fonts 155
Viewing Font Specifications in the SAS Registry 156
Specifying a Font 157
Methods For Specifying Fonts 161
Chapter 12 􀀀 SAS/GRAPH Colors and Images 165
Using SAS/GRAPH Colors and Images 165