Re: [R] Labeling points with xYplot

2008-11-10 Thread John Poulsen
That did it! Thanks for the help!!! -- John David Winsemius wrote: See if this does what you are expecting. xYplot(Cbind(b, b-1.5, b+1.5)~a, ylim=c(0,max(b)+3), panel=function(x,y,...){ panel.xYplot(x,y,subscripts=x,...) panel.superpose(x,y, subscripts=x, groups=x,...)

Re: [R] Labeling points with xYplot

2008-11-10 Thread David Winsemius
See if this does what you are expecting. xYplot(Cbind(b, b-1.5, b+1.5)~a, ylim=c(0,max(b)+3), panel=function(x,y,...){ panel.xYplot(x,y,subscripts=x,...) panel.superpose(x,y, subscripts=x, groups=x,...) ltext(x=list(1,2,3,4), y=list(13,14,15,16),

Re: [R] Labeling points with xYplot

2008-11-10 Thread John Poulsen
Yes, using panel.xYplot is the best thing to do. I couldn't get it to work, which probably means I was specifying it incorrectly. I would be very happy if someone had an example of how to do it. Thanks again -- John Frank E Harrell Jr wrote: John Poulsen wrote: Hello R-Users, I am trying

Re: [R] Labeling points with xYplot

2008-11-10 Thread Frank E Harrell Jr
John Poulsen wrote: Hello R-Users, I am trying to label points on an xYplot. I can label the points, but then I lose the error bars. I suspect that I should be using panel.xYplot rather than panel.xyplot, but that didn't work either... Can anybody help me out? Example code is below. Firs

[R] Labeling points with xYplot

2008-11-10 Thread John Poulsen
Hello R-Users, I am trying to label points on an xYplot. I can label the points, but then I lose the error bars. I suspect that I should be using panel.xYplot rather than panel.xyplot, but that didn't work either... Can anybody help me out? Example code is below. First xYplot has error b