Displaying 1 result from an estimated 1 matches for "pct_compl".
2009 Sep 24
1
superimposing xyplots on same scale
...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
this?
thanks much
pct_compl_chart <- xyplot(pct_compl ~ date,
col="red",
type="b",
pch=15,
scalse=list(tick.number=5),
ylab=list(label="Pct. Compl."),
layout=c(1,5),
xlab=list(label=""),
between = list(x = c(0, 0, 0), y = c(8,-10,-10,-10,-10))
)
time_pct_chart <- xyplot(time_pct...