Displaying 1 result from an estimated 1 matches for "vegzone".
Did you mean:
redzone
2008 Sep 02
2
annotating individual panels produced by xyplot
Hi all,
I'm new to R and lattice and panel functions. I've produced a lattice
graph using xyplot. Now I would like to add various, and *different*,
annotations to each individual panel. I tried something like this,
using panel.text ...
<code>
xyplot(dent ~ era | vegzone,
groups=seedtype,
panel=function(...) {
panel.xyplot(...)
panel.text(6.5,50,labels="my 1st annotation")
panel.text(6.5,70,labels="my 2nd annotation") } )
</code>
... but that didn't work, as both annotations appeared in all panels.
I want to...