2008/10/12 Jim Lemon <[EMAIL PROTECTED]>: > Nicola Sturaro Sommacal wrote: >> >> Dear R users, >> I realise a scatterplot by >> plot(x,y) >> and I add the labels by >> text(x,y,labels,pos=1). >> >> How can I avoid, automatically, that labels overlap, like happen in SPSS? > > Hi Nicola, > thigmophobe.labels in the plotrix package tries to avoid label crashes, and > you can (see the help page) modify the position of a few labels if it > doesn't quite succeed.
There is also pointLabel() in the maptools package. -Felix -- Felix Andrews / 安福立 http://www.neurofractal.org/felix/ 3358 543D AAC6 22C2 D336 80D9 360B 72DD 3E4C F5D8 ______________________________________________ R-help@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.