[R] xyplot: different scales accross rows, same scales within rows

Gabor Grothendieck ggrothendieck at gmail.com
Fri May 25 19:44:22 CEST 2007


xlim= can take a list:

# CO2 is built into R
library(lattice)
xlim <- rep(list(c(0, 1000), c(0, 2000)), each = 2)
xyplot(uptake ~ conc | Type * Treatment, data = CO2,
	scales = list(relation = "free"), xlim = xlim)


On 5/25/07, Marta Rufino <mrufino at cripsul.ipimar.pt> wrote:
> Dear list members,
>
>
> I would like to set up a multiple panel in xyplots, with the same scale
> for all colunms in each row, but different accross rows.
> relation="free" would set up all x or y scales free... which is not what
> I want :-(
>
> Is this possible?
>
>
> Thank you in advance,
> Best wishes,
> Marta
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list