Data visualization with SAS programming

Use whole page for SGPLOT

Accepted Solution Solved
Reply
Contributor
Posts: 35
Accepted Solution

Use whole page for SGPLOT

With this code, the PDF uses only about half the page.  How can I use most of the page?

title;

footnote;

option missing='';

options orientation=landscape;

ods pdf file="&mv_report_path\report.pdf";

 

proc sgplot data=report_scores;

    vbox gbm/category=month extreme;

run;

ods pdf close;

Attached is the PDF.


Accepted Solutions
Solution
‎12-05-2012 12:33 PM
Respected Advisor
Posts: 4,609

Re: Use whole page for SGPLOT

You should add an ODS GRAPHICS statement. Try something like

ods pdf file="&mv_report_path\report.pdf" dpi=300;

ods graphics / width=2000 height=1800;

and play with the numbers.

PG

PG

View solution in original post


All Replies
Solution
‎12-05-2012 12:33 PM
Respected Advisor
Posts: 4,609

Re: Use whole page for SGPLOT

You should add an ODS GRAPHICS statement. Try something like

ods pdf file="&mv_report_path\report.pdf" dpi=300;

ods graphics / width=2000 height=1800;

and play with the numbers.

PG

PG
☑ This topic is SOLVED.

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

Discussion stats
  • 1 reply
  • 631 views
  • 0 likes
  • 2 in conversation