Re: [R] Size of win.metafile

2014-05-27 Thread Jinsong Zhao
On 2014/5/27 11:06, Boris Steipe wrote: I thought so. The behaviour differs when inserting and pasting. See: http://support.microsoft.com/kb/926317 Googling for how to turn this autoscaling nonsense off did not yield an obvious result. This probably means that you'll need to adjust your workflow

Re: [R] Size of win.metafile

2014-05-27 Thread Boris Steipe
I thought so. The behaviour differs when inserting and pasting. See: http://support.microsoft.com/kb/926317 Googling for how to turn this autoscaling nonsense off did not yield an obvious result. This probably means that you'll need to adjust your workflow instead, e.g. by increasing the margin

Re: [R] Size of win.metafile

2014-05-27 Thread Jinsong Zhao
On 2014/5/27 10:32, Boris Steipe wrote: What does Word "think" the object's size is? Is it 4x4 scaled at 133% ? Or is it 5.33 x 5.33 scaled at 100%? B. Thanks for pointing me the scaling factor. I checked them. For the plot pasted into Word, i.e., 4"x4", the plot is scaled at 75%. The origi

Re: [R] Size of win.metafile

2014-05-27 Thread Boris Steipe
What does Word "think" the object's size is? Is it 4x4 scaled at 133% ? Or is it 5.33 x 5.33 scaled at 100%? B. > On May 27, 2014, at 12:28, Jinsong Zhao wrote: > > Jean, > > Thank you for checking the problem. I have the same software with you. > > If I created plot with > windows(width =

Re: [R] Size of win.metafile

2014-05-27 Thread Jinsong Zhao
Jean, Thank you for checking the problem. I have the same software with you. If I created plot with windows(width = 4, height = 4, pointsize = 10) plot(1:10) Then I "copy as metafile" and paste it into Word. I can get the correct size. However, if I select "save as metafile" and save it as "a

Re: [R] Size of win.metafile

2014-05-27 Thread Adams, Jean
Jinsong, When I use your code to create the abcd.emf file, and then copy and paste it into Word, I end up with a 4" x 4" plot with 12 pt font, just as you intended. I'm using R version 3.1.0, and Word 2010 version 14.0.7116.5000. Not sure why it works differently for you. Jean On Mon, May 26,

[R] Size of win.metafile

2014-05-26 Thread Jinsong Zhao
Hi there, I hope to use the emf plot produced by R in Word. However, I have problems with setting the plot size. Here is a mini-example code: win.metafile("abcd.emf", height =4, width=4) plot(1:10) dev.off() I hope to get a emf plot with size 4x4in and pointsize 12pt. However, I got a plot w