Skip to content
Prev 176171 / 398503 Next

showing values in levelplot or image

I have used ltext in a panel function like in the code segment below:

print(levelplot(reslot ~ aisle + quad, reslot.df,
    col.regions=topo.colors(max(quad.POG$values)),
    panel=function(x, y, z, ...){
        panel.levelplot(x, y, z, ...)
        panel.abline(v=seq(1.5, by=1, length=length(aisleOrder)),
               h=seq(1.5, by=1, length=26), col='gray')
        ltext(x, y, z, col='red', font=1)
    },
On Sun, Apr 5, 2009 at 5:42 AM, Ken Wilson <kwil342 at gmail.com> wrote: