Bright Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

Bright Color Palette

 

Description

Examples

Description

• 

The Bright plot palette is a collection of bright variants of primary and secondary colors. It is designed for coloring collections of filled areas. There are six main colors in the palette as well as ten more named colors.

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

1. Blue

2. Red

3. Green

4. Purple









5. Cyan

6. Orange

7. DarkBlue

8. BluishGreen









9. ReddishPurple

10. DarkRed

11. DarkGreenishBlue

12. GreenishYellow









13. DarkBlueGreen

14. DarkGreenishYellow

15. PurpleRed

16. VividGreen









 

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

CColorTools:-ColorBright 10

ColorTools:-ColorRGB,0.60000000,0.039215686,0.

(1)

You can make Bright the default palette in plots using setcolors

plots:-setcolorsBright:

You can programatically access the colors using ColorTools commands

PColorTools:-GetPaletteBright

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,Red,Green,Purple,Cyan,Orange,DarkBlue,BluishGreen,ReddishPurple,DarkRed,DarkGreenishBlue,GreenishYellow,DarkBlueGreen,DarkGreenishYellow,PurpleRed,VividGreen,,palettename=Bright,palettetype=fill

(2)

P1

ColorTools:-ColorRGB,0.20000000,0.40000000,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=point

ColorTools algorithms will automatically generate new colors beyond the main 16 colors:

P20

ColorTools:-ColorRGB,7.42483579610-9,0.1392156869,1.000000000

(5)

The Bright palette is designed for fills, but the Lookup command can provide slightly altered shades of its colors for use in coloring points or lines.

LookupP,1,shade=line

ColorTools:-ColorRGB,0.063687133,0.35704766,0.76481354

(6)

LookupP,1,shade=point

ColorTools:-ColorRGB,0.13919861,0.35249922,0.72966107

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]