Hi:
I don't know exactly what statements you'd use in the Graph Template Language to produce a plot as you describe, but -if- the statements are there and -if- they will work together, then it is theoretically possible that you could design a custom panelled graph template to use with SGRENDER.
The place where I'd start is with one BY group or with 1 subset. Get the plot you want with SGPLOT and then run the procedure with the TMPLOUT= option. The TMPLOUT option instructs the SG procedures to make a file from the graph template statements that are built internally from your SG procedure code. That means if you have an SGPLOT that you really like and it only needs a few tweaks, that you can make those tweaks by modifying the GTL and then using SGRENDER to render the new STATGRAPH template.
[pre]
proc sgplot data=lib.dataset
tmplout='c:\temp\my_sg_tmpl.txt';
title "Your Plot";
... statements for your plot ...
run;
[/pre]
Next, I'd take the my_sg_tmpl.txt file and see what Graph Template Language statements are used and whether they'll work with the other statements you need. This site contains information on GTL statements:
Rules of assembly -- which types of plots can be overlaid and work together:
http://support.sas.com/documentation/cdl/en/grstatug/61950/HTML/default/n0kqozn49yx2lon1aavkll1f5dff...
More information:
http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/statug_odsgraph_sect047.htm
http://support.sas.com/documentation/cdl/en/grstatug/61950/HTML/default/p0qjj7cwxzzaiun1rzevg5gg9w6h...
Then, as you add statements to your GTL program let's say that you create a graph template called GRAPH.MYPLOT, you can test the template with this code:
[pre]
proc sgrender data=lib.dataset
template=graph.myplot;
run;
[/pre]
SGRENDER by itself, will not do anything for you. You'd have to build your custom template with the GTL in order for SGRENDER to render it. If you find that you need help generating the GTL statements, you can open a track with Tech Support for more help with your data and your particular graph design.
cynthia