Examples of Forest plots, such as
http://support.sas.com/resources/papers/proceedings15/SAS1748-2015.pdf
http://blogs.sas.com/content/graphicallyspeaking/2013/01/05/subgrouped-forest-plot-with-font-attribu...
demonstrate that an AXISTABLE can be in the INNERMARGIN of a LAYOUT such as OVERLAY. In the case of Forest plots, the plot itself has no Y value. Thus for plots like scatter or needle plots, it does not seem possible to stack them, except by issuing a LAYOUT OVERLAY statement for each, in which case the "Y" has but one possible value.
Is this correct or am I overlooking something?
Thank you,
Kevin
This is correct. INNERMARGIN can stack plots placed in it, but only accepts statements where the needed height (or width) can be computed by the software, such as graphs with text items only in 1-D. These include BLOCKPLOT and AXISTABLE. Technically, 1-D horizontal Box plots would qualify, but these are not yet supported.
You can use a LAYOUT LATTICE with multiple rows with LAYOUT OVERLAYS, and place such 2-D graphs in individual rows. You will have to set the row-weights yourself.
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.