Learn R Programming

painter (version 0.1.0)

TestPalette: Tools for seeing a palette, and how it spans HSV space.

Description

TestPalette() simply produces a row of bars of colors, with as many bars as there are elements of the supplied color vector. VisPalette() displays the HSV values of the palette.

Usage

TestPalette(color)
VisPalette(color)

Arguments

color

A vector of colors.

Value

Nothing is returned.

Examples

Run this code
# NOT RUN {
pal = Palette("Red","Blue",100)
TestPalette(pal)
VisPalette(pal)
# }

Run the code above in your browser using DataLab