Chapter 23
Managing Your Graph’s
Appearance
Default Appearance Features in Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Methods for Changing the Appearance of Your Plots . . . . . . . . . . . . . . . . . . . . . . 436
Using ODS Styles to Control Graph Appearance . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Evaluating Supplied Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
Changing Attributes in a Style Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Controlling ODS Search Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Using Options to Override Style Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Options That Override Attributes for Individual Plots . . . . . . . . . . . . . . . . . . . . . . 445
Options That Override Style Attributes for All of the Plots in a Template . . . . . . 449
Controlling the Appearance of Non-grouped Data . . . . . . . . . . . . . . . . . . . . . . . . . 450
Controlling the Appearance of Grouped Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Plots That Support Grouped Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
Using the Default Appearance for Grouped Data . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Using Custom Styles to Control the Appearance of Grouped Data . . . . . . . . . . . . 455
Using a Discrete Attribute Map to Control the Appearance of Grouped Data . . . . 456
Controlling the Appearance of Grouped Data for All Graphs in a Template . . . . . 456
Changing the Grouped Data Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Including Missing Group Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
Changing the Grouped Data Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Making the Appearance of Grouped Data Independent of Data Order . . . . . . . . . 468
Using Attribute Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
About Attribute Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Using a Discrete Attribute Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Using a Range Attribute Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Attribute Rotation Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
About the Attribute Rotation Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
The Default Attribute Rotation Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
The Color-Priority Attribute Rotation Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Using Transparency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Using Data Skins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Using Anti-Aliasing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
Using Subpixel Rendering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
Recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
433

Get SAS 9.4 Graph Template Language, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.