DATA Step, Macro, Functions and more

PROC SGPANEL

Accepted Solution Solved
Reply
Contributor
Posts: 38
Accepted Solution

PROC SGPANEL

How make output on one page, in my output title on first box on second and also have 3th empty. 

 

proc sgpanel data=box;
title &var2;
panelby ANALYTE_FULL/novarname sparse;
vbox &var1 / group=tmt groupdisplay=cluster clusterwidth=1;
run;


Accepted Solutions
Solution
‎03-24-2018 01:47 AM
Super User
Posts: 23,987

Re: PROC SGPANEL

Did you specify the graph size anywhere?

 

If not, that would be the starter option. Use the ODS GRAPHICS statement to do that. 

 

options orientation=landscape;
ods graphics / width=8in height=5in;

Orientation will also control the landscape/portrait of the page.

View solution in original post


All Replies
Solution
‎03-24-2018 01:47 AM
Super User
Posts: 23,987

Re: PROC SGPANEL

Did you specify the graph size anywhere?

 

If not, that would be the starter option. Use the ODS GRAPHICS statement to do that. 

 

options orientation=landscape;
ods graphics / width=8in height=5in;

Orientation will also control the landscape/portrait of the page.

Contributor
Posts: 38

Re: PROC SGPANEL

yes by px 750 900
Esteemed Advisor
Posts: 5,621

Re: PROC SGPANEL

I can only try to guess what the difficulty might be... Here is an example; is it close to what you want?

 

%let myTitle=Some Title Text;

proc sgpanel data=sashelp.class;
title "&myTitle"; 
panelby sex / onepanel columns=3 novarname;
vbox age;
run;

SGPanel2.png

 

PG
☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 212 views
  • 1 like
  • 3 in conversation