Message-ID: <eb555e660712081654u1164fee5w1b8be8d92f21635a@mail.gmail.com>
Date: 2007-12-09T00:54:31Z
From: Deepayan Sarkar
Subject: Adding text outside lattice plot
In-Reply-To: <653609.13045.qm@web34709.mail.mud.yahoo.com>
On 12/8/07, Judith Flores <juryef at yahoo.com> wrote:
> Hello,
>
> I need to add some text in the upper left position,
> outside a lattice plot.
>
> xyplot(x~y)
> ltext(locator(1), label='My text')
>
> doesn't work.
library(grid)
ltext(grid.locator(), label='My text')
should.
-Deepayan