A quick and dirty way to show linetypes.
Arguments
- linetypes
A character vector of linetypes. See
par()
.- labels
Label each line with its linetype (lty) value.
See also
show_col()
, show_linetypes()
Examples
library("scales")
show_linetypes(linetype_pal()(3))
show_linetypes(linetype_pal()(3), labels = TRUE)