Nautical Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

Nautical Color Palette

 

Description

Examples

Description

• 

The Nautical plot palette is a dark subdued selection of colors chosen to evoke a maritime feel. It is designed for coloring collections of lines. There are seven main colors in the palette as well as nine more named colors.

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

1. GrayBlue

2. Red

3. DarkGray

4. Olive









5. LightBlue

6. Gray

7. GrayViolet

8. DarkGreen









9. DarkBlue

10. PaleRed

11. DarkPurpleRed

12. PaleGreenBlue









13. DarkOrange

14. PaleBluePurple

15. DarkPurple

16. PaleGreen









 

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=Nautical 1,Nautical Red

CColorTools:-ColorNautical 10

ColorTools:-ColorRGB,0.74117647,0.49411765,0.47058824

(1)

You can make Nautical the default palette in plots using setcolors

plots:-setcolorsNautical:

You can programatically access the colors using ColorTools commands

PColorTools:-GetPaletteNautical

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,GrayBlue,Red,DarkGray,Olive,LightBlue,Gray,GrayViolet,DarkGreen,DarkBlue,PaleRed,DarkPurpleRed,PaleGreenBlue,DarkOrange,PaleBluePurple,DarkPurple,PaleGreen,Grey=Gray,DarkGrey=DarkGray,GreyViolet=GrayViolet,GreyBlue=GrayBlue,palettename=Nautical,palettetype=line

(2)

P1

ColorTools:-ColorRGB,0.20000000,0.30196078,0.39215686,caption=Gray Blue

(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.01568627152,0.4337880061,0.6313725503

(5)

The Nautical 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.31083526,0.36263651,0.41689079

(6)

LookupP,1,shade=point

ColorTools:-ColorRGB,0.026762105,0.24365793,0.36685418

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]