[R] plots to metafile and x/y ratio
juli g. pausas
juli at ceam.es
Sat Mar 15 19:22:04 CET 2003
ripley at stats.ox.ac.uk wrote:
>On Sat, 15 Mar 2003, juli g. pausas wrote:
>
>>I have a problem which I'm not sure if it is due to my machine or if I'm
>>doing something wrong.
>>
>>I'm ploting a little map using plot(val, type="l", asp=1) where val is
>>the object with the latitude/longitude data.
>>In the screen the figure is perfect, and I can copy to the clipboard and
>>paste it to other places. I can also saved using png() or jpeg(),
>>althoug the quality is much lower. However when I try to save it as
>>metafile (from the plot window or by using win.matafile), the file I
>>obtain do not keep the x/y ratio. I'm interested in this metafile
>>because the quality in much higher then the png, jpeg. Any suggestion?
>>
>>
>
>The quality is even higher in postscript or PDF.
>
>
>
>>I'm working with R.1.6.1. on Windows.
>>If somebody is interested, I could send them the files, they are very
>>small (45 KB).
>>
>>
>
>You cannot look at a win.metafile (it is a binary file in a proprietary
>format); you need an application to display it and there is no reason why
>that application should preserve the aspect ratio. I just tried pasting
>into Word, inserting in Word and a clipboard viewer and all preserved the
>aspect ratio, but in each case it could be lost by resizing.
>
>What exactly did you do with the metafile?
>
>
I visualised the win.metafile files with ACDSee ver 3.0 (with resizing
options off). Using this application, I see correctly the figure when
saved as jpg or png file, but I do not see the metafile correctly. It
may be a feature of the ACDSee.
Thnaks
Juli
More information about the R-help
mailing list