I'm a beginning SAS user and want to know if there a way in proc sgpanel to have the "panelby" stack the graphs on top of each other instead of side by side? If not, is there another way to do this? Thanks!
PANELBY statement has a LAYOUT option. Use LAYOUT=ROWLATTICE..
PANELBY statement has a LAYOUT option. Use LAYOUT=ROWLATTICE..
Thanks so much! Do you also know how to make less tick marks on the x axis? I have too many dates listed and they are all overlapping. Or if there is a way to make the graph larger, that works too. Thanks again!
You can set graph size using the WIDTH and HEIGHT option on the ODS Graphics statement. You can adjust the tick by setting VALUES on the ROWAXIS or COLUMNAXIS statements.
Also the Fitpolicy option on the axis statements may be of use.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.