The SAS Output Delivery System and reporting techniques

squeezing table and graph into one page

Reply
Contributor
Posts: 47

squeezing table and graph into one page

Hi all,

I was wondering if it was possible to squeeze a table and graph into one page in a pdf.

In a paper I read the guy recommends using 'ods pdf StartsPage=Never;' but this only works for one table and graph. Otherwise squeezes all tables and graphs into one page and makes a huge mess.

Any suggestions?
Thanks,
Sachin
Super Contributor
Super Contributor
Posts: 3,174

Re: squeezing table and graph into one page

Posted in reply to SachinRuk
Clarify "table" - PROC PRINT, REPORT -- suggest contributing whatever SAS code you have which is not working correctly, along with what exactly does happen (unexpected pagination). Are you trying to get vertical stacking or side-by-side?

Also, have you looked at GOPTIONS parameters XPIXELS / YPIXELS, and VSIZE, HSIZE and also consider ODS / with LANDSCAPE vs PORTRAIT, depending on the information height/width and orientation desired?


Scott Barry
SBBWorks, Inc.
Super User
Posts: 11,343

Re: squeezing table and graph into one page

Posted in reply to SachinRuk
You can use multiple startpage statements.
Something like:

ods pdf startpage=now; /* before the proc that generates the table*/
ods pdf startpage=no; /* before the proc that generated the graph*/

repeat as needed.
Ask a Question
Discussion stats
  • 2 replies
  • 182 views
  • 0 likes
  • 3 in conversation