I'm using proc sgplot (v9.4) to create box/scatter plots and wish to create a separate companion bar (or line) graph below using the same x-axis but using frequencies along the y-axis to produce a single figure. I'm inserting an example of what I want to do. Can someone suggest a way to do this? Thanks.
The best way to do this is using GTL. See this paper to get started.
http://support.sas.com/rnd/datavisualization/papers/sgf2014/096-Matange_final.pdf
See "Multi-Cell layouts" starting page 9.
ok, thank you Sanjay
GTL and PROC template can do this.
See page 9 here, it’s not the exact same but it shows you the idea.
http://support.sas.com/resources/papers/proceedings14/2342-2014.pdf
@wcw wrote:
I'm using proc sgplot (v9.4) to create box/scatter plots and wish to create a separate companion bar (or line) graph below using the same x-axis but using frequencies along the y-axis to produce a single figure. I'm inserting an example of what I want to do. Can someone suggest a way to do this? Thanks.
great, thank you Reeza
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 lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.