R: Show a colormap with a scatterplot

pal.scatter {pals} | R 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

[Package pals version 1.5 Index]