BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Which device (eg activex, java, etc) and options (eg what's the best way to control the size of the image) should I use with gplot to get a clear image in MS PowerPoint?
Any methodology that anyone can recommend would be appreciated.
I'm currently using SAS 9.1
.
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
The documentation on the use of device-based graphics:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/export-gsf.htm

recommends the CGMOF97L device. I have also had good luck with the ACTXIMG device, which creates a PNG file. The GIF and JPG devices might also suffice. In addition, I know some students who use ODS RTF to create their output and then cut and paste the image from Word into PowerPoint -- which works for onesies and twosies, but not for a lot for graph images. (They claimed the image was subjectively "better" using this technique, but I didn't see a big difference.)

For information about controlling image size, look in the documentation under GOPTIONS. Each device has a default size and aspect ratio. You can start with HSIZE and VSIZE GOPTIONS to alter the size:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gopdict-hsize.htm
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gopdict-vsize.htm

cynthia
barheat
Fluorite | Level 6
I have used GIF733 with success using the following setup.

filename grafout "&chart_filename";
goptions reset=all device=GIF733 gunit=pct ftitle=swissl htitle=5 ftext=swissl htext=3
hsize=18cm vsize=13.5cm display
gsfmode=replace gsfname=grafout; /* cback=&uss_background; */

Enter graphics clde here.

filename grafout clear;

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 875 views
  • 0 likes
  • 3 in conversation