[R] Set length of axes in lattice

Saptarshi Guha saptarshi.guha at gmail.com
Sun Feb 17 19:22:44 CET 2008


Thank you.
On Feb 17, 2008, at 1:18 PM, Deepayan Sarkar wrote:
> See ?print.trellis.
>
> p <- xyplot(1 ~ 1, aspect = 0.5)
> p
> plot(p, panel.width = list(2, "inches"), panel.height = list(1,  
> "inches"))
>
> This overrides 'aspect=' though, that is, you will need to specify
> both width and height if you want to control the aspect ratio.
>
> -Deepayan



More information about the R-help mailing list