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

Christoph Scherber cscherb1 at gwdg.de
Fri Jun 20 21:50:10 CEST 2014


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 
> 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 example the symbols could be drawn only every x points, x 
> given as an argument ?
>
> Thanks
> Best regards
> Laurent
>
>
>
> ---
> Ce courrier électronique ne contient aucun virus ou logiciel 
> malveillant parce que la protection avast! Antivirus est active.
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list