Learn R Programming

ggthemes (version 3.5.0)

show_linetypes: Show linetypes

Description

A quick and dirty way to show linetypes.

Usage

show_linetypes(linetypes, labels = TRUE)

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

Run this code
# NOT RUN {
library("scales")

show_linetypes(linetype_pal()(3))
show_linetypes(linetype_pal()(3), labels = TRUE)
# }

Run the code above in your browser using DataLab