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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.