OldPlots - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


OldPlots Color Palette

 

Description

Examples

Description

• 

The OldPlots palette is the selection of colors used as the default plot colors in older versions of Maple.

> 

ColorTools:-DisplayPalette("OldPlots");

1. Red

2. LimeGreen

3. Goldenrod

4. Blue

5. MediumOrchid

6. DarkTurquoise













 

Examples

You can reference colors in the palette by name or number in most commands that understand color names.

> 

plot⁡x,x3,x=−1..1,color=OldPlots 2,OldPlots Blue

> 

C≔ColorTools:-Color⁡OldPlots 6

C≔⟨RGB : 0 0.808 0.82⟩

(1)

You can make OldPlots the default palette in plots using setcolors

> 

plots:-setcolors⁡OldPlots:

You can programatically access the colors using ColorTools commands

> 

P≔ColorTools:-GetPalette⁡OldPlots

P≔Palette OldPlots:⁢Red⁢LimeGreen⁢Goldenrod⁢Blue⁢MediumOrchid⁢DarkTurquoise

(2)
> 

P1

⟨RGB : Red⟩

(3)
> 

n≔numcolors⁡P

n≔6

(4)
> 

plot⁡seq⁡sin⁡x+i⁢πn,i=1..n,x=0..2⁢π,axes=boxed,color=:-GetColors⁡P1..n,legend=:-GetColorNames⁡P1..n,numpoints=25,style=line

See Also

ColorTools

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]