Dear All, I am looking for the best way to use graphs from R (like xyplot, curve ...) for a presentation with powerpoint. I used to save my plot as pdf and after to copy them as image in powerpoint but the quality is not optimal by so doing. Another completely independent question is the following: when I use "main" in the xyplot, the main title is very close to my plot, i.e. no ligne separate the main and the plot. I would like my title to be well distinguished from the plots. I would be grateful for any improvements... Many thanks, Bernard, --------------------------------- [[alternative HTML version deleted]]
Use the functions in library(grDevices) for jpeg, bmp, or png formats. Or, you can use postscript() for an eps file. Of course, I personally think tex files make for much better looking presentations if you can be persuaded. Harold> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Marc Bernard > Sent: Friday, June 23, 2006 7:28 AM > To: r-help at stat.math.ethz.ch > Subject: [R] PowerPoint > > Dear All, > > I am looking for the best way to use graphs from R (like > xyplot, curve ...) for a presentation with powerpoint. I > used to save my plot as pdf and after to copy them as image > in powerpoint but the quality is not optimal by so doing. > > Another completely independent question is the following: > when I use "main" in the xyplot, the main title is very > close to my plot, i.e. no ligne separate the main and the > plot. I would like my title to be well distinguished from the plots. > > I would be grateful for any improvements... > > Many thanks, > > Bernard, > > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
Note that jpg, bmp and png are in less desirable bit mapped formats whereas eps is in a more desirable vector format (magnification and shrinking does not involve loss of info) and so would be preferable from a quality viewpoint. See: http://www.stc-saz.org/resources/0203_graphics.pdf On 6/23/06, Doran, Harold <HDoran at air.org> wrote:> Use the functions in library(grDevices) for jpeg, bmp, or png formats. > Or, you can use postscript() for an eps file. Of course, I personally > think tex files make for much better looking presentations if you can be > persuaded. > > Harold > > > > -----Original Message----- > > From: r-help-bounces at stat.math.ethz.ch > > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Marc Bernard > > Sent: Friday, June 23, 2006 7:28 AM > > To: r-help at stat.math.ethz.ch > > Subject: [R] PowerPoint > > > > Dear All, > > > > I am looking for the best way to use graphs from R (like > > xyplot, curve ...) for a presentation with powerpoint. I > > used to save my plot as pdf and after to copy them as image > > in powerpoint but the quality is not optimal by so doing. > > > > Another completely independent question is the following: > > when I use "main" in the xyplot, the main title is very > > close to my plot, i.e. no ligne separate the main and the > > plot. I would like my title to be well distinguished from the plots. > > > > I would be grateful for any improvements... > > > > Many thanks, > > > > Bernard, > > > > > > > > > > --------------------------------- > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help at stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > > http://www.R-project.org/posting-guide.html > > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Bernard, there are some things that affect your graphs in MS Powerpoint like the formats you save and include them. You should consider test the various combinations. You should test the final presentation on the chosen presentation device 'cause there's some resolution variation there too. I use to save a .jpg format since I can control and test some resolution levels and include as image. For your main title, it's better you supply the group with some code in order we can help you more. HTH, Rogerio Porto. ---------- Cabe?alho original ----------- De: r-help-bounces at stat.math.ethz.ch Para: r-help at stat.math.ethz.ch C?pia: Data: Fri, 23 Jun 2006 13:28:07 +0200 (CEST) Assunto: [R] PowerPoint> Dear All, > > I am looking for the best way to use graphs from R (like xyplot, curve ...) for a presentation with powerpoint. I used to save my plot as pdf and after to copy them as image in powerpoint but the quality is not optimal by so doing. > > Another completely independent question is the following: when I use "main" in the xyplot, the main title is very close to my plot, i.e. no ligne separate the main and the plot. I would like my title to be well distinguished from the plots. > > I would be grateful for any improvements... > > Many thanks, > > Bernard, > > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Dear Bernard, if you use MS Powerpoint, it seems likely to me that you are using the Windows version of R. Are you aware of the fact, that you can just right-click on any graph and copy it to the clipboard (copy as metafile or similar). That way you get a vectorized version of the graph, which you can nicely paste into Powerpoint and edit. Johannes * Marc Bernard <bernarduse1 at yahoo.fr> [060623 13:40]:> Dear All, > > I am looking for the best way to use graphs from R (like xyplot, curve ...) for a presentation with powerpoint. I used to save my plot as pdf and after to copy them as image in powerpoint but the quality is not optimal by so doing. > > Another completely independent question is the following: when I use "main" in the xyplot, the main title is very close to my plot, i.e. no ligne separate the main and the plot. I would like my title to be well distinguished from the plots. > > I would be grateful for any improvements... > > Many thanks, > > Bernard, > > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Dr. Johannes Ranke jranke at uni-bremen.de UFT Bremen, Leobenerstr. 1 +49 421 218 8971 D-28359 Bremen http://www.uft.uni-bremen.de/chemie/ranke
Most useful: the Ungroup command in ppt lets you take apart the graph when you insert it as wmf. I often resort to that when I want to change labels / fonts / colours etc. Very flexible. -- View this message in context: http://www.nabble.com/PowerPoint-t1835745.html#a5016074 Sent from the R help forum at Nabble.com.
I think I was just comparing the ones that were discussed but certainly the vector format used on Windows is normally emf or wmf and that is what I would normally use too. On 6/23/06, Michael H. Prager <Mike.Prager at noaa.gov> wrote:> Previous posters have argued for EPS files as a desirable transfer > format for quality reasons. This is of course true when the output is > through a Postscript device. > > However, the original poster is making presentations with PowerPoint. > Those essentially are projected from the screen -- and screens of > Windows PCs are NOT Postscript devices. The version of PowerPoint I > have will display a bitmapped, low-resolution preview when EPS is > imported, and that is what will be projected. It is passable, but much > better can be done! > > In this application, I have had best results using cut and paste or the > Windows metafile format, both of which (as others have said) give > scalable vector graphics. When quirks of Windows metafile arise (as > they can do, especially when fonts differ between PCs), I have had good > results with PNG for line art and JPG for other art. > > Mike > > -- > Michael Prager, Ph.D. > Southeast Fisheries Science Center > NOAA Center for Coastal Fisheries and Habitat Research > Beaufort, North Carolina 28516 > ** Opinions expressed are personal, not official. No > ** official endorsement of any product is made or implied. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Hello, IMHO, for the printer 1 - The best choice of graphics format is postscript ( PS ) in Microsoft ( M$ ), since you install the M$ Convert Pack [1]! Make a preview in PS file with EMF format! use epstool for this 2 - Enhanced MetaFile ( EMF ) in M$ and OpenOffice ( OOo) is not the same... This can be a problem! See pstoedit page [2] 3 - In OOo, I use the EPS file with the follow procedure: - save my graphic in PS - make to use de EPSTOOL for to produce EPS ( ps with tiff preview ) -> preview is a tiff graphic with low quality *note: emf can be also to included for preview - I need a PS-printer... in the case of NO-ps-printer, the tiff (low quality) will be printed! { :-( }, then, I make a PDF final report with ExtendendPDF! - this procedure also work in the M$-Word HTH, Cleber N. Borges {klebyn} --------------------------- [1] - http://www.microsoft.com/downloads/details.aspx?FamilyID=cf196df0-70e5-4595-8a98-370278f40c57&DisplayLang=en [2] - http://www.pstoedit.net/pstoedit [3] - http://www.3bview.com/epdf-home.html Marc Bernard wrote:>Dear All, > > I am looking for the best way to use graphs from R (like xyplot, curve ...) for a presentation with powerpoint. I used to save my plot as pdf and after to copy them as image in powerpoint but the quality is not optimal by so doing. > > Another completely independent question is the following: when I use "main" in the xyplot, the main title is very close to my plot, i.e. no ligne separate the main and the plot. I would like my title to be well distinguished from the plots. > > I would be grateful for any improvements... > > Many thanks, > > Bernard, > > > > >--------------------------------- > > [[alternative HTML version deleted]] > >______________________________________________ >R-help em stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >. > > >