pals (version 1.5)

pal.scatter: Show a colormap with a scatterplot

Description

What to look for:

Usage

pal.scatter(pal, n = 50, main = "")

Arguments

pal

A palette function or a vector of colors.

n

The number of colors to display for palette functions.

main

Main title

Value

None.

Details

1. Can the colors of each point be uniquely identified?

References

None.

Examples

Run this code
# NOT RUN {
pal.scatter(glasbey, n=31, main="glasbey") # FIXME add legend
pal.scatter(parula, n=10) # not a good choice

# }

Run the code above in your browser using DataLab