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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.