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

Online Help

All Products    Maple    MapleSim


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

CRGB : 0.569 0.255 0.29

(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

PPalette Niagara:BurgundyNavyLeafGreenAzurePurpleBlueGreenVioletDeepBlueCinnamonPaleRedGreenishBlueDarkRoseBluishGreenDarkOrchidBluishPurpleOlive

(2)

P1

RGB : Burgundy

(3)

nnumcolorsP

n16

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

P20

RGB : 0.0032 -0.0014 0.00675

(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

RGB : 0.625 0.151 0.151

(6)

LookupP,1,shade=point

RGB : 0.357 0 0.032

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

ColorTools[Palettes][Lookup]

plots[setcolors]