Spring Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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

ColorTools:-ColorRGB,0.29411765,0.65098039,0.45098039

(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

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,Blue,Rose,YellowGreen,BlueGreen,Violet,Cobalt,Yellow,PurpleRed,GreenBlue,PaleGreen,Orange,Purple,Green,SeaBlue,PaleYellow,PaleBlueGreen,,palettename=Spring,palettetype=line

(2)

P1

ColorTools:-ColorRGB,0.,0.45490196,0.80000000,caption=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.4063725534,0.6509803899,0.2941176499

(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

ColorTools:-ColorRGB,0.29014866,0.52206964,0.82975350

(6)

LookupP,1,shade=point

ColorTools:-ColorRGB,0.046919402,0.43784410,0.76624204

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]