[R] lattice, add text to xyplot

2010-01-08 Thread Ivan Gregoretti
Hello listers, Does anybody know how to add text to an xyplot without whipping out the existing curve? That's all. For instance, Lets say you generate a graph like this A - data.frame(x = rnorm(100), y = rnorm(100)) xyplot(y ~ x, data = A) How would you add 'Hello world'? I tried 6.02E23

Re: [R] lattice, add text to xyplot

2010-01-08 Thread Jason Morgan
On 2010.01.08 19:44:39, Ivan Gregoretti wrote: Hello listers, Does anybody know how to add text to an xyplot without whipping out the existing curve? That's all. For instance, Lets say you generate a graph like this A - data.frame(x = rnorm(100), y = rnorm(100)) xyplot(y ~ x, data

Re: [R] lattice, add text to xyplot

2010-01-08 Thread David Winsemius
On Jan 8, 2010, at 8:10 PM, Jason Morgan wrote: On 2010.01.08 19:44:39, Ivan Gregoretti wrote: Hello listers, Does anybody know how to add text to an xyplot without whipping out the existing curve? That's all. For instance, Lets say you generate a graph like this A - data.frame(x =

Re: [R] lattice, add text to xyplot

2010-01-08 Thread Ivan Gregoretti
Thank you. It works. Ivan Ivan Gregoretti, PhD National Institute of Diabetes and Digestive and Kidney Diseases National Institutes of Health 5 Memorial Dr, Building 5, Room 205. Bethesda, MD 20892. USA. On Fri, Jan 8, 2010 at 8:13 PM, David Winsemius dwinsem...@comcast.net wrote: On Jan 8,