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 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 ~ date, col="blue", type="b", pch=15, scales=list(tick.number=5), ylab=list(label=""), layout=c(1,5), xlab=list(label=""), between = list(x = c(0, 0, 0), y = c(8,-10,-10,-10,-10)) ) [[alternative HTML version deleted]] ______________________________________________ R-help@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.