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

Online Help

All Products    Maple    MapleSim


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

CRGB : 0.741 0.494 0.471

(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

PPalette Nautical:GrayBlueRedDarkGrayOliveLightBlueGrayGrayVioletDarkGreenDarkBluePaleRedDarkPurpleRedPaleGreenBlueDarkOrangePaleBluePurpleDarkPurplePaleGreen

(2)

P1

RGB : Gray Blue

(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.741 0.677 0.471

(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

RGB : 0.315 0.411 0.501

(6)

LookupP,1,shade=point

RGB : 0.136 0.243 0.333

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

ColorTools[Palettes][Lookup]

plots[setcolors]