Re: [R] Trellis devices and pointize

2014-06-21 Thread Deepayan Sarkar
On Thu, Jun 12, 2014 at 2:31 PM, Patrick Connolly wrote: > On Mon, 09-Jun-2014 at 08:33AM +0100, Prof Brian Ripley wrote: > > |> The issue here is not trellis.device. > |> > |> You are using lattice plots (without mentioning lattice), which are > |> based on package 'grid' and so using the grid su

Re: [R] Trellis devices and pointize

2014-06-12 Thread Patrick Connolly
On Mon, 09-Jun-2014 at 08:33AM +0100, Prof Brian Ripley wrote: |> The issue here is not trellis.device. |> |> You are using lattice plots (without mentioning lattice), which are |> based on package 'grid' and so using the grid sub-system of a |> device. That sub-system does not use the 'pointsize

Re: [R] Trellis devices and pointize

2014-06-09 Thread Prof Brian Ripley
The issue here is not trellis.device. You are using lattice plots (without mentioning lattice), which are based on package 'grid' and so using the grid sub-system of a device. That sub-system does not use the 'pointsize' of the device as its initial font size. So you need to use grid::gpar(

[R] Trellis devices and pointize

2014-06-08 Thread Patrick Connolly
How is the pointsize set in trellis.devices? >From my reading of the trellis.device help file, I understood that the pointsize arg would be referenced to the call to the pdf function. So I set up a trellis pdf device as so: trellis.device(device = pdf, file = "Singers.pdf", height = 160/25.4,