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















 

• 

The CVD palettes are also designed with color blindness in mind. For more information, including palettes designed for viewers with all types of color defective vision, see CVD Color Palette.

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 programmatically 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+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 7 colors.  Extended colors are algorithmically generated and should also attemp to be well distributed for red-green color blind viewers.

P10

ColorTools:-ColorRGB,0.1216480102,0.2500747801,0.3678495298

(5)

The Dalton 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

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]

ColorTools[Palettes][Lookup]

CVD Color Palette

plots[setcolors]