设为首页收藏本站

EPS数据狗论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1142|回复: 0

SAS

[复制链接]

1

主题

41

金钱

99

积分

新手用户

发表于 2017-9-4 16:31:18 | 显示全部楼层 |阅读模式
PART 1 SAS/GRAPH Concepts 1
Chapter 1 • Introduction to SAS/GRAPH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Components of SAS/GRAPH Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
SAS/GRAPH Output versus ODS Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Producing Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Producing Two-Dimensional Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Producing Three-Dimensional Plots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Creating Text Slide and Presentation Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Enhancing Graphics Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Creating Custom Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
About the Sample Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Examples and Resources on the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 2 • Elements of a SAS/GRAPH Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
A Typical SAS/GRAPH Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
SAS/GRAPH PROC Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Global Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Annotate DATA Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
ODS Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Base SAS Language Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Other Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Chapter 3 • Overview of Devices, ODS Destinations, and ODS Styles . . . . . . . . . . . . . . . . . . . . 33
Introduction to Devices, ODS Destinations, and ODS Styles . . . . . . . . . . . . . . . . . . . . 33
Working with ODS Destinations and Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Generating Output with SAS/GRAPH Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Controlling the Graphics Output Format with the DEVICE= Option . . . . . . . . . . . . . . 46
Summary of Default Destinations, Styles, and Devices . . . . . . . . . . . . . . . . . . . . . . . . . 47
Sending Output to Multiple Open Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Related Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Chapter 4 • Using Run-Group Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Using Run-Group Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
RUN-group Processing with Global and Local Statements . . . . . . . . . . . . . . . . . . . . . . 51
RUN-group Processing with BY Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
RUN-group Processing with the WHERE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Chapter 5 • The Graphics Output Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
The Graphics Output and Device Display Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Controlling Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54


Controlling Display Area Size and Image Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Maintaining the Quality of Your Image across Devices . . . . . . . . . . . . . . . . . . . . . . . . . 59
How Graphics Elements Are Placed in the Graphics Output Area . . . . . . . . . . . . . . . . 60
How Errors in Sizing Are Handled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 6 • Using Graphics Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Overview: Using Graphics Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
What Is a SAS/GRAPH Device? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Commonly Used Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Default Devices for ODS Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Viewing the List of All Available Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Displaying Information with the QDEVICE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . 68
Deciding Which Device to Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Overriding the Default Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Device Categories and Modifying Default Output Attributes . . . . . . . . . . . . . . . . . . . . 70
Using Universal Printer Shortcut Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Creating Universal Printers and Shortcut Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Viewing and Modifying Device (DEV) Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Creating a Custom Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Compatibility Device Drivers (Z Drivers) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Additional Considerations for Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Related Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Chapter 7 • Managing Your Graphics With ODS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Managing ODS Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Specifying a Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
ODS Destination Statement Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
ODS and Procedures That Support RUN-Group Processing . . . . . . . . . . . . . . . . . . . . . 84
Controlling Titles and Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Chapter 8 • SAS/GRAPH Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Overview of SAS/GRAPH Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Specifying the Graphics Output File Type for Your Graph . . . . . . . . . . . . . . . . . . . . . . 93
The SAS/GRAPH Output Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Setting the Size of Your Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Setting the Resolution of Your Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Controlling Where Your Output Is Stored . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Replacing an Existing Graphics Output File Using the
GSFMODE= Graphics Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Storing Multiple Graphs in a Single Graphics Output File . . . . . . . . . . . . . . . . . . . . . 110
Replaying Your SAS/GRAPH Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Previewing Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Printing Your Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Exporting Your Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

PART 2 Generating Output With SAS/GRAPH 119
Chapter 9 • Using SVG Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Introduction to Scalable Vector Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Advantages of SVG Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Universal Printers versus SAS/GRAPH Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122

iv Contents


The SVG Devices and the Output That They Create . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Example: Creating an SVG File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Example: Generating Stand-Alone SVG Files in HTML5 . . . . . . . . . . . . . . . . . . . . . . 124
Example: Placing Images behind SVG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Example: Generating a Single SVG File with Multiple Pages and Page Controls . . . 127
Web Server Content Type for SVG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Height, Width, and Scaling of SVG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Browser Support for Viewing SVG Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Controlling Graph Resolution with the SVG Devices . . . . . . . . . . . . . . . . . . . . . . . . . 131
Controlling Graph Size with the SVG Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
SAS System Options and SVG Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Overview of Animating Output with the SVG Device . . . . . . . . . . . . . . . . . . . . . . . . . 132
Chapter 10 • Generating SVG, PNG, GIF, and TIFF Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
What is a Non-Interactive Graph? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Creating a Non-Interactive Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
SVG, PNG, GIF, and TIFF Devices Compared to ACTXIMG and
JAVAIMG Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Developing Web Presentations with the PNG, SVG, and GIF Devices . . . . . . . . . . . . 136
Developing Web Presentations with the JAVAIMG and ACTXIMG Devices . . . . . . . 137
Adding Drill-Down Links to Web Presentations Generated with a
Static-Graphic Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Implementing Data Tips and Drill-Down Links with the SVG Devices . . . . . . . . . . . 139
Examples: Generating Static Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Chapter 11 • Generating Animations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Animating Images in SAS/GRAPH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Controlling Animations with System Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Animating Annotation Text Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Examples: Generating Animated Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Chapter 12 • Enhancing Web Presentations with Chart Descriptions, Data
Tips, and Drill-Down Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Overview of Enhancing Web Presentations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Chart Descriptions for Web Presentations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Data Tips for Web Presentations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Adding Links and Enhancements with the URL=, HTML=, and
HTML_LEGEND= Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Enhancing Drill-Down Behavior in SVG Presentations Using HTML Attributes . . . . 178
Generating Drill-Down Links with the Annotate Facility . . . . . . . . . . . . . . . . . . . . . . 181
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Chapter 13 • Using SAS/GRAPH Output with Microsoft Office Products . . . . . . . . . . . . . . . . . 213
What to Consider When Choosing an Output Format . . . . . . . . . . . . . . . . . . . . . . . . . 213
Comparison of the Graphics Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Enhancing Your Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Importing Your Graphs into Microsoft Office . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Chapter 14 • Writing Your Graphs to a PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Overview of Writing Graphs to a PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Specifying Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Creating an Archivable PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Changing the Page Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Adding Metadata to Your PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Adding Bookmarks for Your Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Adding Drill-Down Graphs in Your PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

Contents v


Changing the Default Compression Level for Your PDF File . . . . . . . . . . . . . . . . . . . 226
Examples: Writing Graphs to a PDF File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Chapter 15 • Troubleshooting Web Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Solutions to Common Rendering Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Checking Browser Permissions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Using HTML Character Entities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Connecting to Web Servers That Require Authentication . . . . . . . . . . . . . . . . . . . . . . 247
Removing CLASSPATH Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Setting the SAS_ALT_DISPLAY Variable for X Window Systems on UNIX . . . . . . 248
Correcting Text Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Resolving Differences between Graphs Generated with Different Technologies . . . . 248

PART 3 Controlling the Appearance of Your Output 251
Chapter 16 • Using ODS Styles, Device Parameters, and Options . . . . . . . . . . . . . . . . . . . . . . 253
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Style Attributes versus Device Entry Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
About Style Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Specifying a Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
Overriding Style Attributes with SAS/GRAPH Statement Options . . . . . . . . . . . . . . . 260
Precedence of Appearance Option Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Output from Different Devices and the GSTYLE/NOGSTYLE System Options . . . . 262
Additional Considerations with ODS Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Viewing the List of Styles Provided by SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Modifying a Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Graphical Style Element Reference for Device-Based Graphics . . . . . . . . . . . . . . . . . 267
Turning Off Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Changing the Appearance of Output to Match That of Earlier SAS Releases . . . . . . . 278
Related Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Chapter 17 • Specifying Fonts in SAS/GRAPH Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Introduction: Specifying Fonts in SAS/GRAPH Programs . . . . . . . . . . . . . . . . . . . . . 279
SAS/GRAPH, System, and Device-Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
TrueType Fonts Supplied by SAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Determining What Fonts Are Available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Default Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Viewing Font Specifications in the SAS Registry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
Specifying a Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Methods for Specifying Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Chapter 18 • Using Colors in SAS/GRAPH Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Colors, Styles, and Device Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Specifying Colors in SAS/GRAPH Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Using Transparency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Color-Naming Schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Using the Color Utility Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Processing Limitations for Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Chapter 19 • Adding Images To SAS/GRAPH Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Image File Types Supported by SAS/GRAPH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Displaying an Image in a Graph Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313

vi Contents


Displaying an Image in Graph Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Displaying Images on Data Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Displaying Images Using Annotate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
Displaying Pop-Up Images Using the SVG Graphics Devices . . . . . . . . . . . . . . . . . . 319
Disabling and Enabling Image Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320

PART 4 Statements And Options Used by SAS/GRAPH
321
Chapter 20 • SAS/GRAPH Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Overview of Global Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Specifying Units of Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Chapter 21 • Graphics Options and Device Parameters Dictionary . . . . . . . . . . . . . . . . . . . . . 495
Introduction to Graphics Options and Device Parameters . . . . . . . . . . . . . . . . . . . . . . 498
Specifying Graphics Options and Device Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 498
Options Used in Both GOPTIONS and OPTIONS Statements . . . . . . . . . . . . . . . . . . 499
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Chapter 22 • SAS System Options Used by SAS/GRAPH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Introduction to System Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 609

PART 5 The Annotate Facility 613
Chapter 23 • Using Annotate Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615
Overview: The Annotate Facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616
The Annotate Function, Variable, and Macro Dictionaries . . . . . . . . . . . . . . . . . . . . . 618
About the Annotate Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 618
About Annotate Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
Creating an Annotate Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630
Producing Graphics Output from Annotate Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . 631
Annotate Processing Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
List of Annotate Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
Annotate Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Chapter 24 • Annotate Function Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
About the Annotate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648
Chapter 25 • Annotate Variable Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
About the Annotate Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
Annotate Internal Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
Chapter 26 • Annotate Macro Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 729
About the Annotate Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730
Using Annotate Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730

Contents vii


Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732

PART 6 SAS/GRAPH Procedures 753
Chapter 27 • GANNO Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Overview: GANNO Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
Syntax: GANNO Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
Examples: GANNO Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
Chapter 28 • GAREABAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
Overview: GAREABAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
Concepts: GAREABAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
Syntax: GAREABAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 772
Examples: GAREABAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779
Chapter 29 • GBARLINE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
Overview: GBARLINE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
About Bar-Line Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
About the Chart Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
About Midpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
About Response Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797
About Chart Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797
Missing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 799
Plot Variable Values Out of Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
Controlling Patterns, Outlines, Colors, and Images . . . . . . . . . . . . . . . . . . . . . . . . . . . 800
Syntax: GBARLINE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 803
Examples: GBARLINE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
Chapter 30 • GCHART Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 845
Overview: GCHART Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
Chart Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
Understanding Chart Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
Understanding Midpoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
About Chart Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 857
About Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 859
Syntax: GCHART Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 860
Examples: GCHART Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 946
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 976
Chapter 31 • GCONTOUR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 977
Overview: GCONTOUR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 977
CONTOUR Plot Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 978
Input Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 979
Data Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 979
Missing Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 980
Interpolating Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 980
Syntax: GCONTOUR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 980
Examples: GCONTOUR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1001
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1013
Chapter 32 • GDEVICE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1015
Overview: GDEVICE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1016
Device Catalogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1016
Ways to Use the GDEVICE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1017

viii Contents


Syntax: GDEVICE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1019
Using the GDEVICE Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1025
Creating or Modifying Device Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1030
Example: Creating a Custom Device Entry with Program Statements . . . . . . . . . . . 1032
Chapter 33 • GFONT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1037
Overview: GFONT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1037
Font Terminology and Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1038
Storing or Displaying User-Created Fonts: GFONT0 Libref . . . . . . . . . . . . . . . . . . . 1039
Specifying Units for Creating Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
Syntax: GFONT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
Font Data Sets and the GFONT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1050
The Font Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
The Kern Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
The Space Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1060
Examples: GFONT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
Chapter 34 • GKPI Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1069
Overview: GKPI Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1070
Specifying Qualitative Range Boundaries and Actual KPI Values . . . . . . . . . . . . . . 1073
Controlling the Display of Boundary and Tick Mark Values . . . . . . . . . . . . . . . . . . . 1074
Controlling Qualitative Range Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1074
Syntax: GKPI Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1079
Examples: GKPI Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1088
Chapter 35 • GOPTIONS Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
Overview: GOPTIONS Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1097
Syntax: GOPTIONS Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1098
Examples: GOPTIONS Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1101
Chapter 36 • GPLOT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1105
Overview: GPLOT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1106
Parts of a Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1110
About the Input Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1112
Syntax: GPLOT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1113
Examples: GPLOT Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1178
Chapter 37 • GRADAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
Overview: GRADAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
Syntax: GRADAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1218
Calculating Weighted Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1238
Examples: GRADAR Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1238
Chapter 38 • GREPLAY Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1251
Overview: GREPLAY Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1252
Catalog Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1253
Displaying the List of Templates Provided by SAS/GRAPH . . . . . . . . . . . . . . . . . . 1254
Duplicate Entry Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1255
Ways to Use the GREPLAY Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1255
Sizing and Naming Your Graphs for Replay (Best Practice) . . . . . . . . . . . . . . . . . . . 1255
Considerations for Replaying a Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1256
Syntax: GREPLAY Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1257
Using the GREPLAY Procedure Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1281
Using Code-based Statements to Run the GREPLAY Procedure . . . . . . . . . . . . . . . 1286
Using the GREPLAY Procedure to Replay Catalog Entries . . . . . . . . . . . . . . . . . . . 1287
Using the GREPLAY Procedure to Create Custom Templates . . . . . . . . . . . . . . . . . 1288

Contents ix


Using the GREPLAY Procedure to Replay Graphics Output in a Template . . . . . . . 1289
Using the GREPLAY Procedure to Create Color Maps . . . . . . . . . . . . . . . . . . . . . . . 1290
Examples: GREPLAY Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1290
Chapter 39 • GSLIDE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1305
Overview: GSLIDE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1305
Syntax: GSLIDE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1307
Examples: GSLIDE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1312
Chapter 40 • GTILE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1317
Overview: GTILE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1317
Chart Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1318
Default Tile Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1318
Tile Summarization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1319
Using a Color Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1321
Missing Values, Negative Values, and Zero Values . . . . . . . . . . . . . . . . . . . . . . . . . . 1322
Assigning Custom Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1323
Specifying a Custom Range for the Color Ramp . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1324
Specifying Custom Menu Items in the Pop-up Menu . . . . . . . . . . . . . . . . . . . . . . . . 1324
Syntax: GTILE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1325
Examples: GTILE Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1337
Chapter 41 • G3D Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1353
Overview: G3D Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1353
G3D Procedure Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1355
The Input Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1356
Rotating and Tilting the Plot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1357
Controlling the Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1358
Syntax: G3D Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1358
Examples: G3D Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1376
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1388
Chapter 42 • G3GRID Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1389
Overview: G3GRID Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1389
The Input Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391
Multiple Vertical Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1391
Horizontal Variables along a Nonlinear Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1392
The Output Data Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1392
Interpolation Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1392
Syntax: G3GRID Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1394
Examples: G3GRID Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1400
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1410

PART 7 Appendixes 1411
Appendix 1 • Summary of ActiveX and Java Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1413
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1414
SAS/GRAPH Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1414
PROC GAREABAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1426
PROC GBARLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1426
PROC GCHART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1429
PROC GCONTOUR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1437
PROC GMAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
PROC GPLOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443

x Contents


PROC GRADAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1449
PROC GTILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1453
PROC G3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1454
Annotate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1456
Appendix 2 • Using SAS/GRAPH Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1465
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1465
Rendering Bitstream Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1465
Listing or Displaying SAS/GRAPH Fonts on Your System . . . . . . . . . . . . . . . . . . . . 1466
SAS/GRAPH Font Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1466
The SIMULATE Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1475
Font Locations and the Default Search Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1475
Appendix 3 • Using Device-Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1477
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1477
Default Device-Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1478
Specifying the Full Font Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1479
Specifying Alternative Device-Resident Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1480
Appendix 4 • Predefined Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1483
Appendix 5 • Color Utility Macro Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1497
Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1497
Appendix 6 • GREPLAY Procedure Template Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
H2: One Box Left and One Box Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
H2S: One Box Left and One Box Right with Space . . . . . . . . . . . . . . . . . . . . . . . . . 1506
H3: Three Boxes Across . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
H3S: Three Boxes Across with Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1507
H4: Four Boxes Across . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1507
H4S: Four Boxes Across with Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1508
L1R2: One Box Left and Two Boxes Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509
L1R2S: One Box Left and Two Boxes Right with Space . . . . . . . . . . . . . . . . . . . . . 1509
L2R1: Two Boxes Left and One Box Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1510
L2R1S: Two Boxes Left and One Box Right with Space . . . . . . . . . . . . . . . . . . . . . 1510
L2R2: Two Boxes Left and Two Boxes Right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1511
L2R2S: Two Boxes Left and Two Boxes Right with Space . . . . . . . . . . . . . . . . . . . . 1511
U1D2: One Box Up and Two Boxes Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512
U1D2S: One Box Up and Two Boxes Down with Space . . . . . . . . . . . . . . . . . . . . . . 1512
U2D1: Two Boxes Up and One Box Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513
U2D1S: Two Boxes Up and One Box Down with Space . . . . . . . . . . . . . . . . . . . . . . 1513
V2: One Box Up and One Box Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1514
V2S: One Box Up and One Box Down with Space . . . . . . . . . . . . . . . . . . . . . . . . . . 1514
V3: Three Boxes Vertically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1515
V3S: Three Boxes Vertically with Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1515
WHOLE: Entire Screen Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1516
Appendix 7 • Understanding Hexadecimal Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1517
Appendix 8 • Transporting and Converting Graphics Output . . . . . . . . . . . . . . . . . . . . . . . . . 1521
About Transporting and Converting Graphics Output . . . . . . . . . . . . . . . . . . . . . . . . 1521
Transporting Catalogs across Operating Environments . . . . . . . . . . . . . . . . . . . . . . . 1521
Converting Catalogs to a Different Version of SAS . . . . . . . . . . . . . . . . . . . . . . . . . . 1524
Recommended Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1527

Contents xi


Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1529
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1553
1.png SASGRAPH® 9.4 Reference,.pdf (17.16 MB, 下载次数: 0, 售价: 2 金钱)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

客服中心
关闭
在线时间:
周一~周五
8:30-17:30
QQ群:
653541906
联系电话:
010-85786021-8017
在线咨询
客服中心

意见反馈|网站地图|手机版|小黑屋|EPS数据狗论坛 ( 京ICP备09019565号-3 )   

Powered by BFIT! X3.4

© 2008-2028 BFIT Inc.

快速回复 返回顶部 返回列表