Re: [R] Legend problem when exporting a plot to PDF

2008-04-29 Thread Joerg van den Hoff
On Tue, Apr 29, 2008 at 01:49:01PM +0200, Philipp Pagel wrote: > > > When exporting to PDF a graph with a legend, in the final PDF, the > > text is going beyond the legend box. > > > dev2bitmap("test.pdf", type="pdfwrite", h=6, w=6) > > The legend looks OK on the screen. I noticed that the size

Re: [R] Legend problem when exporting a plot to PDF

2008-04-29 Thread Prof Brian Ripley
Copying between devices (as in dev2bitmap) is not a good way to produce high-quality graphs, and especially not if you change the size. What is wrong with pdf("test.pdf", width=6, height=6) < re-run the plot commands> dev.off() ? On Tue, 29 Apr 2008, Julien Roux wrote: Hi list, When expor

Re: [R] Legend problem when exporting a plot to PDF

2008-04-29 Thread Philipp Pagel
> When exporting to PDF a graph with a legend, in the final PDF, the > text is going beyond the legend box. > > dev2bitmap("test.pdf", type="pdfwrite", h=6, w=6) > The legend looks OK on the screen. I noticed that the size of the > legend box depends on the size of the screen window, As far as

[R] Legend problem when exporting a plot to PDF

2008-04-29 Thread Julien Roux
Hi list, When exporting to PDF a graph with a legend, in the final PDF, the text is going beyond the legend box. > dev2bitmap("test.pdf", type="pdfwrite", h=6, w=6) The legend looks OK on the screen. I noticed that the size of the legend box depends on the size of the screen window, which is n