Re: [R] lattice : superpose symbols with a great many points

2014-06-23 Thread Laurent Rhelp
Le 23/06/2014 01:03, Dennis Murphy a écrit : Hi: There are times when lattice is easier than ggplot2 and times when the converse is true. This is a case where ggplot2 is easier to code once you understand what it is doing. I'm going to try to reproduce your lattice graph in ggplot2 as follows:

Re: [R] lattice : superpose symbols with a great many points

2014-06-22 Thread Christoph Scherber
Dear Laurent, Why not use "type="l""? xyplot(value ~ time, data=data.sim, nr=100, groups=essai,type="l",auto.key=list(columns=5)) You could also use more/better colours using RColorBrewer and/or ColorRamp... Cheers Christoph Am 22.06.2014 23:09, schrieb Laurent Rhelp:

Re: [R] lattice : superpose symbols with a great many points

2014-06-22 Thread Laurent Rhelp
Le 20/06/2014 21:50, Christoph Scherber a écrit : Dear Laurent for numeric x variables, you could try jitter: xyplot(y~jitter(x,0.5)) Cheers Christoph Am 20.06.2014 21:45, schrieb Laurent Rhelp: Hi, I like to use with xyplot (package lattice) the groups argument and superpose.symbol to

Re: [R] lattice : superpose symbols with a great many points

2014-06-22 Thread Duncan Mackay
Hi Try xyplot(y ~ x, ... pch = ".", cex = 2) You may be able to get away with cex = 1 on certain drivers but for most instances cex = 2 will be the smallest size. Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: m

Re: [R] lattice : superpose symbols with a great many points

2014-06-21 Thread David Winsemius
On Jun 20, 2014, at 12:45 PM, Laurent Rhelp wrote: > Hi, > > I like to use with xyplot (package lattice) the groups argument and > superpose.symbol to compare several curves. But, when there are a great many > points, the symbols are very close and the graph becomes unreadable. Would > there

Re: [R] lattice : superpose symbols with a great many points

2014-06-20 Thread Christoph Scherber
Dear Laurent for numeric x variables, you could try jitter: xyplot(y~jitter(x,0.5)) Cheers Christoph Am 20.06.2014 21:45, schrieb Laurent Rhelp: Hi, I like to use with xyplot (package lattice) the groups argument and superpose.symbol to compare several curves. But, when there are a grea