Skip to content

Adding text outside lattice plot

2 messages · Judith Flores, Deepayan Sarkar

#
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 a better friend, newshound, and
#
On 12/8/07, Judith Flores <juryef at yahoo.com> wrote:
library(grid)
ltext(grid.locator(), label='My text')

should.

-Deepayan