BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
AndrewZ
Quartz | Level 8

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.

1 ACCEPTED SOLUTION

Accepted Solutions
PGStats
Opal | Level 21

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

1 REPLY 1
PGStats
Opal | Level 21

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3928 views
  • 1 like
  • 2 in conversation