2009/9/25 Felix Andrews :
> Sorry, doubleYScale is not appropriate, since you specifically want a
> common y scale.
>
> I think Baptiste was suggesting to use layer(), rather than
> as.layer():
Truth be told, I wasn't quite sure what the initial request meant. I
took it quite literally, as "superi
Sorry, doubleYScale is not appropriate, since you specifically want a
common y scale.
I think Baptiste was suggesting to use layer(), rather than
as.layer(): something like
xyplot(pct_compl ~ date, col="red", ...) +
layer(panel.xyplot(date, time_pct, col = "blue"))
But again, I would def
Um, no, please use doubleYScale() in latticeExtra, rather than as.layer().
However, in your case, why don't you just do a standard lattice plot like
xyplot(time_pct + pct_compl ~ date,
par.settings = simpleTheme(col = c("blue", "red")),
type="b",
pch=15,
...)
If you gave a reproducib
Hi,
try ?as.layer in the latticeExtra package.
HTH,
baptiste
2009/9/24 Larry White :
> I have two xyplots that i want to superimpose (code below). By default they
> are displayed on slightly different y scales (one runs from 10 to 25, the
> other from 10 to 30). I would like to force them both
I have two xyplots that i want to superimpose (code below). By default they
are displayed on slightly different y scales (one runs from 10 to 25, the
other from 10 to 30). I would like to force them both onto the same scale
(10 to 30) so the relation between the two is clear. Is there a way to do
5 matches
Mail list logo