A quick and dirty way to show shapes.

show_shapes(shapes, labels = TRUE)

Arguments

shapes

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

labels

Include the plotting character value of the symbol.

Value

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

See also

Examples

library("scales") show_shapes(shape_pal()(5))
show_shapes(shape_pal()(3), labels = TRUE)