Chapter 24
Managing Your Graphics Output
Introduction to ODS Graphics Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
SAS Registry Settings for ODS Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
ODS Destination Statement Options Affecting ODS Graphics . . . . . . . . . . . . . . . 497
ODS GRAPHICS Statement Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Controlling the Image Name and Image Format . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Using the IMAGENAME= ODS Graphics Option to Control the Image Name . . 501
Using the OUTPUTFMT= ODS Graphics Option to Control the Image Format . 502
Using a Universal Printer with ODS LISTING to Control the Image Format . . . . 503
Resetting the Image Name and Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Controlling the Location of the Image Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
Controlling Graph Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Overview of Graph Size Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
BEGINGRAPH Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Scaling Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
Controlling Image Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
Creating a Graph That Can Be Edited . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
Creating a Graph That You Can Import into Microsoft Office Applications . . . 516
Introduction to ODS Graphics Output
Whenever you run a program that creates ODS Graphics output, several details are
handled by default. Among them are the following:
output file characteristics (file path and filename)
image characteristics (format, name, DPI, size)
ODS style used
when anti-aliasing is used
whether fonts and markers are scaled when graph size is changed
whether the graph that is created can be edited
whether data tips are produced
495

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.