[R] good procedure for creating plots for PowerPoint

Don MacQueen macq at llnl.gov
Wed May 8 15:49:17 CEST 2002


If you have Adobe Illustrator available then you can use 
postscript(), and the quality will be very good.

After creating the postscript file, open it with Illustrator. 
Illustrator (unless it's a very old version) will add a preview 
image. Save it in Illustrator's "Illustrator EPS" format. Then use 
PowerPoint's "Insert Graphic from File" command.

Your boss will probably be able to change the background in 
PowerPoint, but it would be better to do it in Illustrator.

caveat: I do this on a Macintosh, and you didn't mention what 
platform he's using for his PowerPoint. I think it likely my 
procedure will work with Windows' Illustrator and PowerPoint.

With the postscript driver you can set the height and width of the 
plot to something appropriate for a PowerPoint presentation. It will 
probably take some trial and error on your part to get the margins 
and other graphical parameters right, since what fits  when viewing 
the graph on the screen may not fit when it's sized for Powerpoint.

-Don

At 4:38 PM -0700 5/7/02, Russell Senior wrote:
>I am generating some graphs (on GNU/Linux using R 1.5.x) for a
>PowerPoint presentation my boss is giving next week.  He just tried
>cut/pasted a plot off of a PDF file I had created, but he complained
>that the fonts were too small and fuzzy, and that he couldn't change
>the background.  I have been playing with png(bg=transparent), but I
>am not sure what appropriate height,width parameters and whether I
>should modify my plot colors.  Any pointers on generating good quality
>figures for PowerPoint?
>
>Thanks!
>
>--
>Russell Senior         ``The two chiefs turned to each other.       
>seniorr at aracnet.com      Bellison uncorked a flood of horrible      
>                          profanity, which, translated meant, `This is
>                          extremely unusual.' ''                     
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
>Send "info", "help", or "[un]subscribe"
>(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list