pals (version 1.5)

pal.test: Show a colormap with multiple images

Description

1. Z-curve

Usage

pal.test(pal, main = substitute(pal))

Arguments

pal

A palette function or a vector of colors.

main

Title to display at the top of the test image

Value

None.

Details

2. Contrast Sensitivity Function.

3. Frequency ramp. See: http://inversed.ru/Blog_2.htm Are the vertical bands visible across the full vertical axis?

4. 5. Two images of the 'volcano' elevation data in R using forward/reverse colors. Try to find the highest point on the volcano peak. Many palettes with dark colors at one end of the palette hide the peak (e.g. viridis). Also try to decide if the upperleft and upperright corners are the same color.

6. Luminosity in red, green, blue, and grey.

References

# See links above.

Examples

Run this code
# NOT RUN {
pal.test(parula)
pal.test(viridis) # dark colors are poor
pal.test(coolwarm)

# }

Run the code above in your browser using DataCamp Workspace