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

Online Help

All Products    Maple    MapleSim


Spring Color Palette

 

Description

Examples

Description

• 

The Spring plot palette is a bright selection of colors chosen to evoke the flowering plants of spring. It is designed for coloring collections of lines. There are six main colors in the palette as well as ten more named colors.

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

1. Blue

2. Rose

3. YellowGreen

4. BlueGreen









5. Violet

6. Cobalt

7. Yellow

8. PurpleRed









9. GreenBlue

10. PaleGreen

11. Orange

12. Purple









13. Green

14. SeaBlue

15. PaleYellow

16. PaleBlueGreen









 

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=Spring 2,Spring Blue

CColorTools:-ColorSpring 10

CRGB : 0.294 0.651 0.451

(1)

You can make Spring the default palette in plots using setcolors

plots:-setcolorsSpring:

You can programatically access the colors using ColorTools commands

PColorTools:-GetPaletteSpring

PPalette Spring:BlueRoseYellowGreenBlueGreenVioletCobaltYellowPurpleRedGreenBluePaleGreenOrangePurpleGreenSeaBluePaleYellowPaleBlueGreen

(2)

P1

RGB : 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.268 0.408 0.317

(5)

The Spring 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.217 0.558 0.898

(6)

LookupP,1,shade=point

RGB : 0 0.402 0.718

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

ColorTools[Palettes][Lookup]

plots[setcolors]