hadley/ggplot2 — Issue #381: contourplot coloring incorrect
Author: tdhock
Created: 2012-01-31 16:11:27+00:00
State: open

I believe I have found a bug in 0.9.0, which is not there
in the current CRAN version. Take this contourplot for example.

## example from help(stat_contour)
library(reshape2)
volcano3d <- melt(volcano)
names(volcano3d) <- c("x", "y", "z")
library(ggplot2)
p <- ggplot(volcano3d, aes(x, y, z = z))+
stat_contour(aes(colour = ..level..))
print(p) ## the colors of the contours on the plot are incorrect!