Hello list,
Is there a way to add contour lines to a levelplot at different
breakpoints than are used for the colors? For example:
library(lattice)
# colors good but too many contours
levelplot(volcano, at=94:195, contour=TRUE)
# I thought something like this might work
levelplot(volcano,
panel=function(...) {
panel.levelplot(..., at=94:195)
panel.contourplot(..., at=c(100, 125, 150))
})
Thanks,
Richard
--
UMass Amherst
Natural Resources Conservation
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.