geom_contour {ggplot2} | R Documentation |
Display contours of a 3d surface in 2d
geom_contour(mapping=NULL, data=NULL, stat="contour", position="identity", ...)
mapping |
mapping between variables and aesthetics generated by aes |
data |
dataset used in this layer, if not specified uses plot dataset |
stat |
statistic used by this layer |
position |
position adjustment used by this layer |
... |
ignored |
This page describes geom_contour, see layer
and qplot
for how to create a complete plot from individual components.
A layer
The following aesthetics can be used with geom_contour. Aesthetics are mapped to variables in the data with the aes
function: geom\_contour(\code{aes}(x = var))
x
: x position (required)
y
: y position (required)
weight
: observation weight used in statistical transformation
colour
: border colour
size
: size
linetype
: line type
Hadley Wickham, http://had.co.nz/
geom_density2d
: Draw 2d density contours
## Not run: # See stat_contour for examples ## End(Not run)