Dalton Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : Color Collections : ColorTools/Collection/Dalton

Dalton Color Palette

 

Description

Examples

Description

• 

The Dalton plot palette is a selection of colors to be more easily distinguishable for viewers with red-green color blindness. It is designed for coloring filled areas. There are seven colors in the palette.

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

1. SkyBlue

2. Vermillion

3. Yellow

4. Blue

5. Orange

6. ReddishPurple

7. BluishGreen















 

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=Dalton 2,Dalton Blue

CColorTools:-ColorDalton 5

ColorTools:-ColorRGB,0.90196078,0.62352941,0.

(1)

You can make Dalton the default palette in plots using setcolors

plots:-setcolorsDalton:

You can programatically access the colors using ColorTools commands

PColorTools:-GetPaletteDalton

ColorTools:-Palettemodule...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,SkyBlue,Vermillion,Yellow,Blue,Orange,ReddishPurple,BluishGreen,,palettename=Dalton,palettetype=fill

(2)

P1

ColorTools:-ColorRGB,0.33725490,0.70588235,0.91372549,caption=Sky Blue

(3)

nnumcolorsP

n7

(4)

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

ColorTools algorithms will automatically generate new colors beyond the main 7 colors.  Extended colors are algorithmically generated and may not be as optimally distributed for red-green color blind viewers.

P10

ColorTools:-ColorRGB,0.5696669022,0.3372549004,0.9137254899

(5)

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

LookupP,1,shade=line

ColorTools:-ColorRGB,0.,0.64170173,0.87877048

(6)

LookupP,1,shade=point

ColorTools:-ColorRGB,0.,0.60534933,0.83050246

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]