EXAMPLE 25 Plotting Multiple Graphs on the Same Page
Purpose: Use PROC GREPLAY to display several graphs on a page.
It is often useful to place multiple graphs on the same page, in varying sizes and positions, in order to look at the same data in different ways. There are several techniques you can use to accomplish this in SAS/GRAPH. I strongly recommend PROC GREPLAY because it provides the maximum flexibility.
To use PROC GREPLAY, you first run your code to create all the individual graphs, using the NAME= option to save them into named GRSEGs (so you can refer to them by those names later). Next create a custom PROC GREPLAY template, specifying the X and Y coordinates of the four corners of the desired areas to display each graph. And ...