Skip to content
Prev 277533 / 398506 Next

equal spacing of the polygons in levelplot key (lattice)

Hi:

Does this work?

# library('lattice')
levs <- as.vector(quantile(volcano,c(0,0.1,0.5,0.9,0.99,1)))
levelplot(volcano, at = levs,
            colorkey = list(labels = list(at = levs,
                                                   labels = levs) ))

HTH,
Dennis
On Tue, Nov 15, 2011 at 1:12 PM, Andy Bunn <Andy.Bunn at wwu.edu> wrote: