Dear R Gurus -
Please help me to make a multiple-panel plot using xYplot in which  
the y-axis of each panel is dependent only on the data of that plot.

Here is the dataset:
        response        date    mean           Lower       Upper
1       density         1       271.0000000 249.2500000 289.0000000
2       density         4       296.7500000 280.5000000 313.0000000
3       recruits        1       271.0000000 249.2500000 289.0000000
4       recruits        4        44.2500000  36.0000000  54.7500000
5       richness        1        85.5000000  74.7500000  96.0000000
6       richness        4        90.2500000  82.0000000 100.2500000
7       shannon         1         3.9139870   3.7895134   4.0081557
8       shannon         4         3.9364410   3.8454223   3.9966735
9       simpson         1         0.9676981   0.9650888   0.9699434
10      simpson         4         0.9672897   0.9637745   0.9703296
11      survivors       1         0.0000000   0.0000000   0.0000000
12      survivors       4       252.5000000 232.0000000 273.0000000

library(lattice)
library(grid)
library(Hmisc)

xYplot(
        Cbind(mean, Lower, Upper) ~ date | response,
        groups = water,
        data = sum.sap,
        type = "l", lty = c(1, 2), col = "black",
        scales = list(y = list(relation = "free")),
        )
When I run this code, ylim for each panel is 0 - 350. I want the  
ylimits of each panel to differ.
        

Any help would be appreciated-
thanks-
tim


Running R 2.6 on MAC OS 10.4


______________________
C. E. Timothy Paine
Dept. of Biological Sciences
107 Life Sciences Building
Louisiana State University
Baton Rouge, LA  70803

225-344-3514
[EMAIL PROTECTED]
972 species of rainforest trees... manuplants.org



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to