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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.