Data visualization with SAS programming

fit panels from PROC SGPANEL

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 10
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
a month ago
SAS Super FREQ
Posts: 864

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
a month ago
SAS Super FREQ
Posts: 864

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: 9,713

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.

Post a Question
Discussion Stats
  • 2 replies
  • 88 views
  • 2 likes
  • 3 in conversation