| .add_contour_lines | R Documentation |
geom_contour with preset defaults for colour, alpha, width.
Uses the correct linewidth/size argument depending on ggplot2 version.Add Contour Lines to a ggplot2 Plot
Wrapper around geom_contour with preset defaults for colour, alpha, width.
Uses the correct linewidth/size argument depending on ggplot2 version.
.add_contour_lines(
mapping = NULL,
data = NULL,
breaks = NULL,
colour = "white",
alpha = 0.3,
width = 0.2,
bins = NULL
)
mapping |
Mapping aesthetic. |
data |
Data frame. |
breaks |
Break points for contours. |
colour |
Colour of contour lines. |
alpha |
Transparency level. |
width |
Line width. |
bins |
Number of bins for contour fill. |
A ggplot2 layer adding contour lines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.