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

Online Help

All Products    Maple    MapleSim


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

CRGB : 0.6 0.0392 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

PPalette Bright:BlueRedGreenPurpleCyanOrangeDarkBlueBluishGreenReddishPurpleDarkRedDarkGreenishBlueGreenishYellowDarkBlueGreenDarkGreenishYellowPurpleRedVividGreen

(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=point,symbol=solidcircle

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

P20

RGB : -0.00142 0.22 0.301

(5)

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

LookupP,1,shade=line

RGB : 0.06 0.279 0.698

(6)

LookupP,1,shade=point

RGB : -0.00173 0.211 0.636

(7)

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

ColorTools[Palettes][Lookup]

plots[setcolors]