BookmarkSubscribeRSS Feed
WKC
Calcite | Level 5 WKC
Calcite | Level 5
Hi, I am trying to figure out how to control the image output in using ODS GRAPHICS and ODS LISTING destination.

I am aware that ODS GRAPHICS can be used to specify image format, image name, size of image and etc., and the resolution can be specify in the ODS destination. However when I used ODS LISTING to create individual graph at a specific resolution (say 200dpi), I could not change the default resolution of 100dpi. Am I missing something?

Other question, people used to run GOPTIONS to make graphs, but it seems that many of the common image settings can be controlled with ODS GRAPHICS and ODS destination statement. I was wondering if it is necessary to run any GOPTIONS statements my situation. Thanks!

PS. I am running Window SAS 9.2 TS2M3. Assuming PROC SGPLOT was used to generate the above graph.
1 REPLY 1
DanH_sas
SAS Super FREQ
For your first question, you can control the DPI of images from ODS Graphics by using the IMAGE_DPI option on the ODS LISTING/RTF/HTML statements. For ODS PDF and PRINTER, use the DPI (which affect the whole output, tables and all).

For the second question, GOPTIONS do not apply to ODS Graphics. Just use the ODS GRAPHICS statement to control global options in this system.

Hope this helps!
Dan

SAS INNOVATE 2024

innovate-wordmarks-white-horiz.png

SAS is headed back to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team.

Interested in speaking? Content from our attendees is one of the reasons that makes SAS Innovate such a special event!

Submit your idea!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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