I have a macro that uses sgplot to print a graph and proc print to print some more detailed stats. The macro is invoked 4 times. Is there a simple way to plot the output of the macro in 4 quadrants? Thanks.
Sounds like you want to use
ODS LAYOUT GRIDDED
as described in
https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/
and
https://blogs.sas.com/content/iml/2015/12/02/matrices-graphs-gridded-layout.html
What's your output destination? Some (e.g PDF) supports a columns statement so you can specify two columns for output and then if you control the sizes you can make that the 4 quadrants. Otherwise you're looking at ODS DOCUMENT and ODS LAYOUT which are more complex.
Sounds like you want to use
ODS LAYOUT GRIDDED
as described in
https://blogs.sas.com/content/sasdummy/2015/11/23/ods-statement-options-to-change/
and
https://blogs.sas.com/content/iml/2015/12/02/matrices-graphs-gridded-layout.html
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.