In SAS Studio, I have tried using the Box Plot under Graph, but it does not allow for side-by-side box plots. Therefore, I am not sure where to find this capability.
Thanks,
Jemall
Hi:
Have you looked into SGPANEL?
if you have a variable you want to group by, then SGPANEL would be the way to achieve what you want.
Cynthia
Thank you,
For your insight, knowledge, and help.
Jemall
@Pittma050 just a quick note that I've merged your threads into one post as they were identical.
Hello i wonder what happens when the categories in the x axis are more than 30
@himself it depends on how large the size of the graphic is...for a 30" page it may be fine, for a standard letter page it may not be. If you have that many it's likely better to create a few groups of graphs rather than try and cram them into one graph IMO.
use the CATEGORY= option to specify a group variable. (You can also use the GROUP= option, which adds color.) FOr an example, see
https://blogs.sas.com/content/iml/2012/08/22/categories-vs-groups-in-proc-sgplot.html
I am using SAO OnDemand for Academics. In SAS Studio, I have tried using the Box Plot under Graph, but it does not allow for side-by-side box plots. Therefore, I am not sure where to find this capability. I have looked online to find the answer, called the help desk, and look through the manual. None, have giving me an answer.
Thanks,
Jemall
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!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.