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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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