You can also use PROC GREPLAY to delete one or more entries from an existing graphics catalog, overlay multiple graphs, and to simplify the table of contents when using ODS.
The GREPLAY procedure can only replay graphics output that has been written as an entry to a SAS/GRAPH catalog. Keep in mind that not all of the SAS procedures that produce graphics output write a GRSEG entry to a SAS/GRAPH catalog. Graphics output that is not written to a SAS/GRAPH catalog includes graphics output from the following:
PROC GREPLAY also cannot replay text output produced by procedures such as PROC PRINT or PROC REPORT.
Most SAS/GRAPH device drivers support the GREPLAY procedure. However, the following device drivers do not support PROC GREPLAY:
The main use for PROC GREPLAY is to put multiple graphs on a single page. As long as you are placing fewer than five graphs on the same page, you can use a predefined GREPLAY template to accomplish this. The following sample programs demonstrate this technique:
Among the default GREPLAY templates is a template called WHOLE. This template is useful for overlaying multiple graphs or creating unique graphs, such as the broken axis panel graph that Sample 48333 creates.
The ODS Statistical Graphics (SG) procedures such as SGPLOT and the SAS/STAT® procedures with ODS Graphics enabled do not write graph entries to a catalog. Therefore, you cannot use PROC GREPLAY to directly replay graphics output that the SG procedures and ODS Graphics creates. However, you might want to use PROC GREPLAY with SG procedure and ODS Graphics output when putting multiple SG procedure and ODS Graphics graphs on the same page, or when combining SG procedure output and ODS Graphics output on the same page with regular SAS/GRAPH procedure output.
To use the GREPLAY procedure with SG procedure output and ODS Graphics output, use the three-step process that Sample 41461 demonstrates.
When using multiple SAS/GRAPH procedures to write graphics output to a PDF file, the table of contents in the PDF file can get very busy and complex.
Sample 48546 demonstrates how to use PROC GREPLAY to simplify the table of contents when writing multiple graphs to a PDF file.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS/GRAPH | z/OS | 9.1 TS1M3 SP4 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | |||
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | |||
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |||
Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |||
Windows Vista | 9.1 TS1M3 SP4 | |||
Windows Vista for x64 | 9.1 TS1M3 SP4 | |||
64-bit Enabled AIX | 9.1 TS1M3 SP4 | |||
64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |||
64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |||
HP-UX IPF | 9.1 TS1M3 SP4 | |||
Linux | 9.1 TS1M3 SP4 | |||
Linux on Itanium | 9.1 TS1M3 SP4 | |||
OpenVMS Alpha | 9.1 TS1M3 SP4 | |||
Solaris for x64 | 9.1 TS1M3 SP4 | |||
Tru64 UNIX | 9.1 TS1M3 SP4 |
Type: | Usage Note |
Priority: |
Date Modified: | 2015-08-31 17:47:26 |
Date Created: | 2012-10-17 15:00:44 |