return a color palette - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/GetPalette

ColorTools[GetPalette] - return a color palette

Calling Sequence

GetPalette(N)

Parameters

N

-

string used to identify the palette

Description

• 

The GetPalette command returns the Palette object associated with the name N. The string is not case-sensitive.

Examples

withColorTools:

GetPalettespring

Palette Spring:BlueRoseYellowGreenBlueGreenVioletCobalt

(1)

GetPaletteniagara

Palette Niagara:BurgundyNavyLeafGreenAzurePurpleBlueGreenVioletDeepBlueCinnamonPaleRedGreenishBlueDarkRoseBluishGreenDarkOrchidBluishPurpleOlive

(2)

GetPalettedalton

Palette Dalton:SkyBlueVermillionYellowBlueOrangeReddishPurpleBluishGreen

(3)

P:=PaletteRed=Color#f00,Blue=Color#00f,Green=Color#0f0

P:=Palette:RedBlueGreen

(4)

AddPalettePrimary,P

niagara,nautical,spring,oldplots,mono,dalton,executive,bright,css,html,maplev,x11,resene,generic,primary

(5)

GetPaletteprimary

Palette Primary:RedBlueGreen

(6)

See Also

ColorTools[PaletteNames]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam