Niagara Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

Niagara Color Palette

 

Description

Examples

Description

• 

The Niagara plot palette is a subdued selection of colors inspired by Canada's Niagara wine region. It is designed for coloring collections of lines. There are nine main colors in the palette as well as seven more named colors.

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

1. Burgundy

2. Navy

3. LeafGreen

4. Azure









5. Purple

6. BlueGreen

7. Violet

8. DeepBlue









9. Cinnamon

10. PaleRed

11. GreenishBlue

12. DarkRose









13. BluishGreen

14. DarkOrchid

15. BluishPurple

16. Olive









 

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=Niagara 1,Niagara Navy

CColorTools:-ColorNiagara 10

ColorTools:-ColorRGB,0.56862745,0.25490196,0.29019608

(1)

You can make Niagara the default palette in plots using setcolors

plots:-setcolorsNiagara:

You can programatically access the colors using ColorTools commands

PColorTools:-GetPaletteNiagara

ColorTools:-Palettemodule...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,Burgundy,Navy,LeafGreen,Azure,Purple,BlueGreen,Violet,DeepBlue,Cinnamon,PaleRed,GreenishBlue,DarkRose,BluishGreen,DarkOrchid,BluishPurple,Olive,Orange=Cinnamon,Blue=Navy,Red=Burgundy,Green=LeafGreen,Cyan=Azure,palettename=Niagara,palettetype=line

(2)

P1

ColorTools:-ColorRGB,0.47058824,0.,0.054901961,caption=Burgundy

(3)

nnumcolorsP

n16

(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 16 colors:

P20

ColorTools:-ColorRGB,0.2431372509,0.5134640537,0.5411764696

(5)

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

LookupP,1,shade=fill

ColorTools:-ColorRGB,0.52374211,0.14984970,0.13365410

(6)

LookupP,1,shade=point

ColorTools:-ColorRGB,0.42165206,0.017786126,0.049195729

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]