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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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