CVD - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


CVD Color Palette

 

Description

Examples

References

Description

• 

The CVD plot palette is a selection of colors to be more easily distinguishable for viewers with all types of color defective vision (color blindness). It is designed for coloring filled areas. There are twelve colors in the palette, all of which should be distinguishable by viewers with deuteranopia and protanopia. The first nine should be distinguishable by viewers with tritanopia.

ColorTools:-DisplayPalette("CVD",noextend);

1. Blue

2. Orange

3. Pale Green

4. Purple

5. Yellow

6. Red













7. Light Blue

8. Pale Purple

9. Green

10. Green Blue

11. Pale Orange

12. Light Green Blue













 

• 

Two variations of this palette are provided and named CVD2 and CVD3 that are optimized for protanopia and tritanopia respectively. They have the same initial colors, but will produce different colors when automatically extended.

Examples

You can reference colors in the palette by name or number in most commands that understand color names.

plotx,x3,x=1..1,color=CVD 2,CVD Blue

CColorTools:-ColorCVD 5

CRGB : 0.941 0.941 0.196

(1)

You can make CVD the default palette in plots using setcolors

plots:-setcolorsCVD:

You can programmatically access the colors using ColorTools commands

PColorTools:-GetPaletteCVD

PPalette CVD:BlueOrangePale GreenPurpleYellowRedLight BluePale PurpleGreenGreen BluePale OrangeLight Green Blue

(2)

P1

RGB : Blue

(3)

nnumcolorsP

n12

(4)

plotseqsinx+iπn,i=1..n,x=0..2π,axes=boxed,color=:-GetColorsP1..n,legend=:-GetColorNamesP1..n,numpoints=25,style=line

ColorTools algorithms will automatically generate new colors beyond the main 12 colors.  Extended colors are algorithmically generated and will attempt to be well distributed for red-green color blind viewers.

P16

RGB : 0.125 0 0.165

(5)

The CVD palette is designed for filled areas, but the Lookup command can provide slightly altered shades of its colors for use in coloring points or lines.

LookupP,1,shade=line

RGB : -0.00102 0.234 0.618

(6)

LookupP,1,shade=point

RGB : -0.00161 0.155 0.558

(7)

References

  

http://mkweb.bcgsc.ca/colorblind/

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

ColorTools[Palettes][Lookup]

plots[setcolors]