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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning 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. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

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
  • 2 replies
  • 639 views
  • 0 likes
  • 3 in conversation