Learn R Programming

ggthemes (version 5.1.0)

show_shapes: Show shapes

Description

A quick and dirty way to show shapes.

Usage

show_shapes(shapes, labels = TRUE)

Value

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

Arguments

shapes

A numeric or character vector of shapes. See par().

labels

Include the plotting character value of the symbol.

See Also

show_col(), show_linetypes()

Examples

Run this code
library("scales")

show_shapes(shape_pal()(5))
show_shapes(shape_pal()(3), labels = TRUE)

Run the code above in your browser using DataLab