GetPalette - Maple Help

Online Help

All Products    Maple    MapleSim


ColorTools

  

GetPalette

  

return a color palette

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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:BlueRoseYellowGreenBlueGreenVioletCobaltYellowPurpleRedGreenBluePaleGreenOrangePurpleGreenSeaBluePaleYellowPaleBlueGreen

(1)

GetPaletteniagara

Palette Niagara:BurgundyNavyLeafGreenAzurePurpleBlueGreenVioletDeepBlueCinnamonPaleRedGreenishBlueDarkRoseBluishGreenDarkOrchidBluishPurpleOlive

(2)

GetPalettedalton

Palette Dalton:SkyBlueVermillionYellowBlueOrangeReddishPurpleBluishGreen

(3)

PPaletteRed=Color#f00,Blue=Color#00f,Green=Color#0f0

PPalette:RedBlueGreen

(4)

AddPalettePrimary,P

niagara,nautical,spring,oldplots,mono,dalton,executive,bright,patchwork,css,cvd,cvd2,cvd3,html,maplev,x11,resene,generic,xterm,solarized,xkcd,primary

(5)

GetPaletteprimary

Palette Primary:RedBlueGreen

(6)

Compatibility

• 

The ColorTools[GetPalette] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

ColorTools[PaletteNames]