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
mail: home: mac...@northnet.com.au -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Laurent Rhelp Sent: Saturday, 21 June 2014 05:45 To: r-h...@stat.math.ethz.ch Subject: [R] lattice : superpose symbols with a great many points Hi,

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

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

2014-06-20 Thread 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 great many points, the symbols are very close and the graph becomes unreadable. Would there be an argument or a tip not to draw all the symbols, for exa