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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.