powered by
Plot a sequence of shaded rectangles showing colors in the palette.
# S3 method for inlpal plot(x, ..., label = TRUE)
Invisibly returns NULL, called for side effect, plotting a color palette in an R graphics device.
NULL
'inlpal' object that inherits behavior from the 'character' class. Palette colors represented in hexadecimal format.
Not used
'logical' flag. Whether to include the plot title.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
get_colors(10) |> plot() set_hinge(c(-10, 10), hinge = 0)(20) |> plot()
Run the code above in your browser using DataLab