Re: [R] lattice overlay

2011-07-27 Thread Dieter Menne
Ram H. Sharma wrote: > > I want to overlay lattice scatter plot: I do not know why the following > code > is not plotting subscripts ! Sorry if this question is too simple: > > Working example shortened: > > .panel.xyplot(x, y, pch=16, col = "green4", ylim = c(0, 10)) > > Because they ar

[R] lattice overlay

2011-07-27 Thread Ram H. Sharma
Dear experts: I want to overlay lattice scatter plot: I do not know why the following code is not plotting subscripts ! Sorry if this question is too simple: require(lattice) xyplot(Sepal.Length ~ Sepal.Width | Species , data= iris, panel= function(x, y, subscripts) { panel.xyplot(x, y, pch=