Thank you very much for your answer. It works just as I want!.
Kenneth El sáb, 15-10-2011 a las 20:39 +0530, Deepayan Sarkar escribió: > On Fri, Oct 14, 2011 at 10:02 AM, David Winsemius > <dwinsem...@comcast.net> wrote: > > Legends are built in columns. You need to find a graphics symbol to put in > > the "points" column or you need to find something that the lines paramater > > will turn into a dot (and I'm not sure what that might be.) > > A 'lines' component can actually contain points as well, with type="p", as in > > xyplot(y~x,group=type, > type=c("p","l"), > key=list(space="right",text=list(c("Data","Model")), > lines=list(lwd = 2, cex = 1.5, pch = 19, > type = c("p", "l"))), > par.settings=confMisc1, > distribute.type=TRUE, > data=dataT) > > -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.