| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | panel.superpose solved |
| From: | "Robert M. Key" <key@Princeton.EDU> |
| Date: | Tue, 20 Feb 2001 13:06:11 -0500 |
| Organization: | Atmos. and Ocean Sci. Program |
Thanks to Jim Pratt for a very quick solution. The problem was with colors
in
xyplot(c14~silicate|Latfac,data=junkdf,
layout=c(3,1),
panel=function(x,y,...){
panel.superpose(x,y,groups=Zfac,subscripts=T,
col=superpose.symbol$col,
pch=superpose.symbol$pch[1:4],
cex=superpose.symbol$cex)
abline(-70,-1,lwd=2)
})
not being set correctly for Zfac in the subplots.
The solution is:
xyplot(c14~silicate|Latfac,data=junkdf,
layout=c(3,1),
groups=Zfac,
panel=function(x,y,...){
abline(-70,-1,lwd=2)
panel.superpose(x,y,
col=superpose.symbol$col,
pch=superpose.symbol$pch[1:4],
cex=superpose.symbol$cex,...)
})
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Addition of values with NAs, D.Kaufmann |
|---|---|
| Next by Date: | GLIM, Ronghui Xu |
| Previous by Thread: | Addition of values with NAs, D.Kaufmann |
| Next by Thread: | GLIM, Ronghui Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |