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
)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.