You can always use the 'crop' feature in PowerPoint to get the graphics the
way you want them.

On 5/26/07, LL <Lbrannma@yahoo.com> wrote:
>
> Thanks Charles. I just discovered that I get much better behavior if I
> write
> the graph to a normal R graphics window, right click and select copy as
> metafile, and paste the result normally into powerpoint.
>
> ----- Original Message -----
> From: "Charles Annis, P.E." <Charles.Annis@StatisticalEngineering.com>
> To: "'LL'" <Lbrannma@yahoo.com>; <r-help@stat.math.ethz.ch>
> Sent: Saturday, May 26, 2007 7:46 PM
> Subject: RE: [R] graphics edge in win.metafile?
>
>
> > Try using Paste, Special in WORD or PowerPoint.  The graphic will be
> > slightly smaller too but I find the size is just right.
> >
> >
> > What works better for me, but does require some forethought, is
> something
> > like this:
> >
> > graphics.off()
> > windows(width = 5.8, height = 5.8, pointsize = 12)
> > par(mar = c(4.5, 4.5, 4, 0.5) + 0.1)#  <-- sized to fit your graphic.
> > ###        Customizing par() may solve your cut & paste problem, too.
> > ###
> > ### graphic generating logic goes here.
> > ###
> > savePlot("graphic name", type = "wmf")
> >
> > The rather than cut & paste, I use WORD or PowerPoint's "insert" to
> point
> > to
> > the new graphic.
> >
> >
> >
> >
> > Charles Annis, P.E.
> >
> > Charles.Annis@StatisticalEngineering.com
> > phone: 561-352-9699
> > eFax:  614-455-3265
> > http://www.StatisticalEngineering.com
> >
> >
> > -----Original Message-----
> > From: r-help-bounces@stat.math.ethz.ch
> > [mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of LL
> > Sent: Saturday, May 26, 2007 1:14 PM
> > To: LL; r-help@stat.math.ethz.ch
> > Subject: [R] graphics edge in win.metafile?
> >
> > Hi... I copy a plot to the clipboard via win.metafile and then paste the
> > clipboard into a powerpoint show. The problem is that there is
> > considerable
> > white space between the edges of the plot and the figure pasted into
> > powerpoint. I've tried many par settings to get less white space between
> > the
> > plot sides and the  bounding box.. but haven't succeeded.
> >
> > win.metafile("", height=3, width=3)
> > plot(1:10)
> > dev.off()
> >
> > Thanks,
> > Lance
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@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
> > and provide commented, minimal, self-contained, reproducible code.
> >
> >
>
> ______________________________________________
> R-help@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
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

