SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 44973: Use PROC GREPLAY to place six graphs on a single page in a PDF document

DetailsCodeResultsAboutRate It

This sample demonstrates how to use PROC GREPLAY to place six graphs on the same page in a PDF document. The sample code on the Full Code tab starts off by using PROC GCHART to write six bar charts to the default SAS/GRAPH® catalog of WORK.GSEG.

The final step in the code uses PROC GREPLAY with the ODS PDF statement to write all six graphs to a single page in the PDF document. The sample code uses the TDEF statement within PROC GREPLAY to define a custom six-panel template.

Note that the sample code uses one set of graphics options when creating the six original graphs but then uses a second set of graphics options when using GREPLAY to create the final PDF output.




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.