A quick and dirty way to show linetypes.
show_linetypes(linetypes, labels = TRUE)
A character vector of linetypes. See
par()
.
Label each line with its linetype (lty) value.
This function called for the side effect of creating a plot.
It returns linetypes
.
show_col()
, show_linetypes()
library("scales")
show_linetypes(linetype_pal()(3))
show_linetypes(linetype_pal()(3), labels = TRUE)