[R-sig-Geo] spread labels, plotrix package
TShort at epri.com
Wed Jun 6 17:13:51 CEST 2007
Laurence, it's a tough problem. See the following links:
I've got some R code enclosed that uses simulated annealing or genetic
algorithms to find suitable locations. The code is granted to the public
domain. The genetic algorithm portion is adapted from the python code
I thought I had posted this to r-sig-geo before, but I couldn't find it.
Anyway, I've only lightly tested it, and it could probably be tweaked
Electric Power Research Institute (EPRI)
From: r-sig-geo-bounces at stat.math.ethz.ch
[mailto:r-sig-geo-bounces at stat.math.ethz.ch] On Behalf Of Laurence
Sent: Wednesday, June 06, 2007 10:27 AM
To: r-sig-geo at stat.math.ethz.ch
Subject: [R-sig-Geo] spread labels, plotrix package
I am using the plotrix package to add labels on my plot (a map exactly).
But when I have a lot of points, the labels are overlapping, Do you know
how can I avoid the labels overlap?
I am using the spread.labels, I tried thigmophobe.labels and
boxed.labels with no better results.
Any idea are welcome,
= Laurence Amilhat INRA Toulouse 31326 Castanet-Tolosan =
= Tel: 33 5 61 28 53 34 Email: laurence.amilhat at toulouse.inra.fr =
R-sig-Geo mailing list
R-sig-Geo at stat.math.ethz.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7986 bytes
More information about the R-sig-Geo