tests/doc/contourplot/volcano.R

## example from help(stat_contour)
library(reshape2)
volcano3d <- melt(volcano)
names(volcano3d) <- c("x", "y", "z")
library(ggplot2)
ggplot(volcano3d, aes(x, y, z = z))+
  stat_contour(aes(colour = ..level..))

Try the directlabels package in your browser

Any scripts or data that you put into this service are public.

directlabels documentation built on May 2, 2019, 6:13 p.m.