Skip to content
Back to formatted view

Raw Message

Message-ID: <47552235.4090009@bitwrit.com.au>
Date: 2007-12-04T09:47:33Z
From: Jim Lemon
Subject: overlapping labels
In-Reply-To: <7124EE4D7E556844A654A607A4203FDD3ED3CD@scomp0038.wurnet.nl>

Biscarini, Filippo wrote:
> Good evening,
>  
> I am trying to add labels to the point of a simple plot, using the
> text() function; the problem is that sometimes, if two points are too
> close to each other, labels overlap and are no longer readable.
> I was wondering whether there are options that I can use to prevent this
> overlapping (by, for example, placing labels alternatively above and
> below the plotted curve), or whether I should use another set of
> graphical functions (grid or lattice packages).
> Does anybody have suggestions?
>  
Hi Filippo,
Have a look at thigmophobe.labels in the plotrix package.

Jim