geom_contour()
with labels.
NOTE: This package uses ggproto, which will be available in ggplot2 ver1.1.0; You have to install_github("hadley/ggplot2")
until the day will come.
library(gglabeledcontour)
v3d <- reshape2::melt(volcano)
ggplot(v3d, aes(Var1, Var2, z = value)) +
geom_labeled_contour()
devtools::install_github("yutannihilation/gglabeledcontour")
See [https://github.com/hadley/ggplot2/blob/master/vignettes/extending-ggplot2.Rmd].
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.