[R] lattice : superpose symbols with a great many points
Duncan Mackay
dulcalma at bigpond.com
Sun Jun 22 10:43:49 CEST 2014
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: mackay at northnet.com.au
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Laurent Rhelp
Sent: Saturday, 21 June 2014 05:45
To: r-help at stat.math.ethz.ch
Subject: [R] lattice : superpose symbols with a great many points
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