Wrapper around geom_contour with preset defaults for color, 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
).add_contour_lines(
mapping = NULL,
data = NULL,
breaks = NULL,
colour = "white",
alpha = 0.3,
width = 0.2,
bins = NULL
)
A ggplot2 layer adding contour lines.
A ggplot2 layer adding contour lines.
Mapping aesthetic.
Data frame.
Break points for contours.
Colour of contour lines.
Transparency level.
Line width.
Number of bins for contour fill.