Data visualization with SAS programming

fit panels from PROC SGPANEL

Accepted Solution Solved
Reply
Contributor
Posts: 40
Accepted Solution

fit panels from PROC SGPANEL

I am running a proc sgpanel and my panel variable names are cutting off. Is there any way I can resize the graphs to make them fit?

 

SAS code:

proc sgpanel data=long;
    panelby group / layout=columnlattice onepanel noborder colheaderpos=bottom novarname;
    vbox score / category=time;
    colaxis display=(nolabel);
    rowaxis grid;
run;


Accepted Solutions
Solution
‎04-24-2017 06:29 PM
SAS Super FREQ
Posts: 888

Re: fit panels from PROC SGPANEL

You can specify WIDTH and HEIGHT on the ODS GRAPHICS statment:

 

ods graphics / width=1000px height=600px;

 

If you specify only width or height, the graph automatically maintains the original aspect.

 

Hope this helps!

Dan

View solution in original post


All Replies
Solution
‎04-24-2017 06:29 PM
SAS Super FREQ
Posts: 888

Re: fit panels from PROC SGPANEL

You can specify WIDTH and HEIGHT on the ODS GRAPHICS statment:

 

ods graphics / width=1000px height=600px;

 

If you specify only width or height, the graph automatically maintains the original aspect.

 

Hope this helps!

Dan

Grand Advisor
Posts: 10,192

Re: fit panels from PROC SGPANEL

You may want to specify SCALE=NOSCALE Or SCALE=Off as sometimes increasing the display area will increase the font size in proportion and not gain much.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 166 views
  • 2 likes
  • 3 in conversation