pal.scatter: Show a colormap with a scatterplot

View source: R/tools.R

pal.scatterR Documentation

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

Details

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

Value

None.

Author(s)

Kevin Wright

References

None.

Examples

pal.scatter(glasbey, n=31, main="glasbey") # FIXME add legend
pal.scatter(parula, n=10) # not a good choice


kwstat/pals documentation built on Feb. 4, 2024, 10:36 a.m.