On 11/20/07, Dylan Beaudette <[EMAIL PROTECTED]> wrote: > On Tuesday 20 November 2007, Deepayan Sarkar wrote: > > On Nov 20, 2007 11:14 AM, David Afshartous <[EMAIL PROTECTED]> > wrote: > > > All, > > > > > > I'm trying to make a basic plot: data points superimposed upon the a line > > > connecting the points w/ a different color. Example below doesn't work > > > as the first xyplot call doesn't remain. Suggestions? > > > > xyplot(y ~ Hour, type = 'b', lwd = 2, pch= 16, col.symbol = "red", cex=3) > > > > or for finer control > > > > xyplot(y ~ Hour, > > panel = function(x, y, ...) { > > panel.lines(x, y, lwd = 2) > > panel.points(x, y, pch = 16, cex = 3, col = "red") > > }) > > > > -Deepayan > > > > Deepayan, > > is there any way to do something similar, but when the data used to plot the > lines and the points come from different dataframes and a grouping variable > is used?
There's a way to do almost everything, but we need a reproducible example (preferably minimal) and a clear statement of what you want to do to help. -Deepayan ______________________________________________ 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.