SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 44955: Use PROC GREPLAY with the ODS PDF statement to place four graphs on the same page

DetailsCodeResultsAboutRate It
This sample demonstrates how to use PROC GREPLAY with the ODS PDF statement to place four graphs on the same page in a PDF document. The sample code on the Full Code tab first uses four PROC GCHART steps to write four individual graphs to the default graphics catalog of WORK.GSEG. At the end of the code, the L2R2 template is used with PROC GREPLAY together with the ODS PDF statement to create a single-page PDF file with four graphs on the same page.

Note that one GOPTIONS statement is used before the first PROC GCHART step while a second GOPTIONS statement is used before the PROC GREPLAY step.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.