OldPlots Color Palette
Description
Examples
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
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〉
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
P1
〈RGB : Red〉
n≔numcolors⁡P
n≔6
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]
Download Help Document