Data visualization with SAS programming

High-resolution graphic for use with poster-sized PowerPoint file

Reply
Contributor
Posts: 62

High-resolution graphic for use with poster-sized PowerPoint file

Hi,

I'm trying to produce a graphic from PROC LOGISTIC suitable for use in PowerPoint, that will eventually become a large poster. I can make a file suitable for a Word document, but when enlarged is looks very "fuzzy". I've tried increasing the DPI but then get warning messages about exceeding memory.

Here is part of the code:

ods graphics on / imagefmt = png width=1280px height=960px scale noborder;
ods listing image_dpi=300 style=journal;
proc logistic data=sln1 plots=roc(id=prob);
model pos(event='1') = MSKCC Camb Stan / nofit;
roc 'MSKCC' MSKCC;
roc 'Cambridge' Camb;
roc 'Stanford' Stan;
roccontrast reference('MSKCC') / estimate e;
run;
ods graphics off;

Can someone help, please?

Thanks,

Norman.

PS. I'm running SAS 9.2 in Windows XP
Norman.
SAS 9.4 (TS1M0) X64_7PRO WIN 6.1.7601 Service Pack 1 Workstation

SAS Super FREQ
Posts: 862

Re: High-resolution graphic for use with poster-sized PowerPoint file

Hey Norman,

If you look in your SAS configuration file, you will see the -Xmx and -Xms options under JREOPTIONS. You can increase the memory on these options to be no more the 1/2 of your physical memory on your machine. It's best to go ahead to set both numbers to be the same. Give that a try and see if that helps.

Thanks!
Dan
Contributor
Posts: 62

Re: High-resolution graphic for use with poster-sized PowerPoint file

OK, I finally figured out how to do this.

By default, the ODS PDF statement creates Scalable Vector Graphics. Output was directed to a PDF file, from where an enlarged image was captured which was then pasted into PowerPoint (with other images, text, etc.), then made into a PDF that was sent to the printers. Care was taken to ensure that the highest quality settings were used throughout. The result was excellent.


I should add that I'm now using SAS 9.3 TS Level 1M0 on an X64_7PRO platform.

Easy when you know how!

Norman.

Norman.
SAS 9.4 (TS1M0) X64_7PRO WIN 6.1.7601 Service Pack 1 Workstation

Valued Guide
Posts: 723

Re: High-resolution graphic for use with poster-sized PowerPoint file

hi ... here's another idea ...

High Resolution PDF Graphics via the PAPERSIZE Option

http://www.sascommunity.org/wiki/High_Resolution_PDF_Graphics_via_the_PAPERSIZE_Option

Post a Question
Discussion Stats
  • 3 replies
  • 251 views
  • 0 likes
  • 3 in conversation