Re: [R] Custom axis function in lattice:::xyplot

2010-05-26 Thread Gavin Simpson
> > # There must a better way, but this works; add > >labels = levels(dat$fac)[panel.number()], > > # to your panel.axis() call in axis.VarLabs. Thanks Peter. I had tried that but it didn't work. Now just realised I was hitting a scoping problem and that my example was subtly different to

Re: [R] Custom axis function in lattice:::xyplot

2010-05-26 Thread Deepayan Sarkar
On Wed, May 26, 2010 at 10:20 AM, Peter Ehlers wrote: > On 2010-05-26 4:03, Gavin Simpson wrote: >> >> Dear List, >> >> I have been writing a Lattice function to draw what we call >> stratigraphic diagrams, these are diagrams with a panel for each species >> showing a time series of abundance, but

Re: [R] Custom axis function in lattice:::xyplot

2010-05-26 Thread Peter Ehlers
On 2010-05-26 4:03, Gavin Simpson wrote: Dear List, I have been writing a Lattice function to draw what we call stratigraphic diagrams, these are diagrams with a panel for each species showing a time series of abundance, but drawn vertically to represent time passing from bottom of plot towards