A set of linetypes
scale_linetype_crim(...)
Arguments passed to discrete_scale()
The ggplot graph with linetypes set.
ggplot2::ggplot(mtcars, ggplot2::aes(x = mpg, y = hp, linetype = as.character(cyl))) +
ggplot2::geom_line(size = 1) +
scale_linetype_crim() +
theme_crim()
#> Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
#> ℹ Please use `linewidth` instead.