[R] lattice question--- different ylim
Deepayan Sarkar
deepayan at stat.wisc.edu
Thu Sep 4 19:54:28 CEST 2003
For example (variations are possible),
y <- 100 * runif(400)
a <- gl(4, 100)
x <- gl(3, 7, 400)
library(lattice)
bwplot(y ~ x | a, scales = list(y = "free"),
ylim = list(c(0, 100), c(0, 200), c(0, 100), c(0, 200)))
(Assuming you have up to date versions of R and lattice).
On Thursday 04 September 2003 09:26 am, Mahbub Latif wrote:
> Hi there,
>
> I have four panels in a lattice bwplot. I want to have
> two different ylim for the panels, for example panels
> [1,1] and [1,2] with ylim=c(0,200) and panels [2,1]
> and [2,2] with ylim=c(0,100).
>
> Thanks for help in advance.
>
> Mahbub.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
More information about the R-help
mailing list