BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
cat123
Calcite | Level 5

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Jay54
Meteorite | Level 14

PANELBY statement has a LAYOUT option.  Use LAYOUT=ROWLATTICE..

View solution in original post

4 REPLIES 4
Jay54
Meteorite | Level 14

PANELBY statement has a LAYOUT option.  Use LAYOUT=ROWLATTICE..

cat123
Calcite | Level 5

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!

Jay54
Meteorite | Level 14

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.

ballardw
Super User

Also the Fitpolicy option on the axis statements may be of use.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2100 views
  • 7 likes
  • 3 in conversation