search for: levelplot2

Displaying 1 result from an estimated 1 matches for "levelplot2".

Did you mean: levelplot
2011 Dec 31
2
How to color a region in a contour plot with the contour being the boundary?
...n the beginning for z <= 0.02 and many whites for z > 50 ## trial 1 pdf(file="levelplot1.pdf", width=6, height=6) image(x, y, z, xaxs="r", yaxs="r", col=zcols) contour(x, y, z, levels=c(0.02, 1, 5, 10, 20, 50, 500), add=TRUE) dev.off() ## trial 2 pdf(file="levelplot2.pdf", width=6, height=6) image(x, y, z, xaxs="r", yaxs="r", col=zcols, oldstyle=TRUE) contour(x, y, z, levels=c(0.02, 1, 5, 10, 20, 50, 500), add=TRUE) dev.off()