Skip to contents

A quick and dirty way to show shapes.

Usage

show_shapes(shapes, labels = TRUE)

Arguments

shapes

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

labels

If TRUE (the default), label each symbol with its plotting character value.

Value

Called for its side effect of creating a plot; returns shapes invisibly.

Examples

library("scales")

show_shapes(shape_pal()(5))

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