powered by
A quick and dirty way to show shapes.
show_shapes(shapes, labels = TRUE)
This function called for the side effect of creating a plot. It returns shapes.
shapes
A numeric or character vector of shapes. See par().
par()
Include the plotting character value of the symbol.
show_col(), show_linetypes()
show_col()
show_linetypes()
library("scales") show_shapes(shape_pal()(5)) show_shapes(shape_pal()(3), labels = TRUE)
Run the code above in your browser using DataLab