Re: [R] Adding text outside lattice plot

2007-12-08 Thread Deepayan Sarkar
On 12/8/07, Judith Flores <[EMAIL PROTECTED]> 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 __

[R] Adding text outside lattice plot

2007-12-08 Thread Judith Flores
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. I would appreciate any help. Tahnk you, Judith Be