PROC SGPLOT displays titles inside the graph. If you want to display a title inside the graph and a different title outside the graph, you can use the ODS LAYOUT or the GTL. The ODS LAYOUT gives you precise control over your output and enables you to display multiple graphs and tables in each page.
Tag: ods layout
Advanced ODS: Controlling precisely what output is displayed
Implement BY processing for your entire SAS program
How to write a SAS macro program to repeat your SAS processing for each value of a BY grouping variable.