show_linetypes: Show linetypes

Description Usage Arguments Value See Also Examples

View source: R/show.R

Description

A quick and dirty way to show linetypes.

Usage

1
show_linetypes(linetypes, labels = TRUE)

Arguments

linetypes

A character vector of linetypes. See par().

labels

Label each line with its linetype (lty) value.

Value

This function called for the side effect of creating a plot. It returns linetypes.

See Also

show_col(), show_linetypes()

Examples

1
2
3
4
library("scales")

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

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.