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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 984 views
  • 0 likes
  • 2 in conversation