Re: [R] pdf function, resize xyplot plot automatically

2010-06-03 Thread Patrick Connolly
On Wed, 02-Jun-2010 at 02:34PM -0400, Afshartous, David wrote: |> |> All, |> |> When saving plots to a pdf file via the pdf function, I would like to be |> able to automatically expand the graphics device to achieve the same result |> as when one does this manually (e.g., clicking the green expa

Re: [R] pdf function, resize xyplot plot automatically

2010-06-02 Thread Peter Ehlers
David, I would use either the 'width=' argument to pdf() or use a smaller font for the x-axis (or both). Something like: pdf(file = "foo.pdf", width = 10) xyplot(Y ~ Time | as.factor(Subject), data = foo.frm, layout = c(2,2), scale = list(x = list( at = c(0, 15, 30

[R] pdf function, resize xyplot plot automatically

2010-06-02 Thread Afshartous, David
All, When saving plots to a pdf file via the pdf function, I would like to be able to automatically expand the graphics device to achieve the same result as when one does this manually (e.g., clicking the green expand button on the upper left of the graph on Mac OS). Consider simple example bel