| To: | yiwu ye <yiwu21111958@yahoo.com>, s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | Re: controlling y axis scale in xyplot |
| From: | "Richard M. Heiberger" <rmh@temple.edu> |
| Date: | Thu, 14 Dec 2006 01:23:48 -0500 (EST) |
See ?trellis.args and read about scales. I think you are asking for tmp <- data.frame(x=1:10, y=rnorm(10), a=rep(1:2, c(5,5))) xyplot(y ~ x | a, data=tmp, scales=list(y=list(relation="free"))) instead of the default xyplot(y ~ x | a, data=tmp) In my example, the default gives a much better view of the relationship between the y and x variables. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | controlling y axis scale in xyplot, yiwu ye |
|---|---|
| Next by Date: | Vertical boxplot, Paul Matthias Diderichsen |
| Previous by Thread: | controlling y axis scale in xyplot, yiwu ye |
| Next by Thread: | Vertical boxplot, Paul Matthias Diderichsen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |