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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.