Skip to content
Prev 232793 / 398500 Next

lattice: limits in reversed order with relation="same"

On Mon, Aug 30, 2010 at 5:51 AM, Thaler,Thorn,LAUSANNE,Applied
Mathematics <Thorn.Thaler at rdls.nestle.com> wrote:
That is the recommended way for panels.

The only way really to keep track of prepanel calls is to use an
external counter. E.g.,

prepanel.counter <- 0

myprepanel <- function(x,y,...) {
    prepanel.counter <<- prepanel.counter + 1
    list(xlim=rev(range(x)))
}

-Deepayan