See the scales argument of xyplot: e.g.
densityplot(~values | groups, pch=".", scales = list(y =
"free")).
Best regards
Frede Aakmann T?gersen
Scientist
UNIVERSITY OF AARHUS
Faculty of Agricultural Sciences
Dept. of Genetics and Biotechnology
Blichers All? 20, P.O. BOX 50
DK-8830 Tjele
Phone: +45 8999 1900
Direct: +45 8999 1878
E-mail: FredeA.Togersen at agrsci.dk
Web: http://www.agrsci.org
This email may contain information that is confidential.
Any use or publication of this email without written permission from Faculty of
Agricultural Sciences is not allowed.
If you are not the intended recipient, please notify Faculty of Agricultural
Sciences immediately and delete this email.
> -----Oprindelig meddelelse-----
> Fra: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] P? vegne af Joe Bloggs
> Sendt: 14. november 2007 03:24
> Til: r-help at stat.math.ethz.ch
> Emne: [R] differing scales for lattice plot panels
>
> Hi,
> I want to compare densities across several groups with:
> densityplot(~values | groups, pch=".")
> However one of the groups has an almost point-like distribution.
> This forces the y-axis scale to be so large that the other
> distribution curves are all flat in comparison and get lost
> amongst the data dots.
> How can I produce a lattice plot with different y-axes
> (preferably automatically scaled) for each panel?
>
> ______________________________________________
> R-help at 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.
>