KnownPalette - Maple Help

Online Help

All Products    Maple    MapleSim


ColorTools

  

KnownPalette

  

check whether a string is the name of a known palette

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

KnownPalette(N)

Parameters

N

-

string used to identify the palette

Description

• 

The KnownPalette command returns true if and only if N is the name of a known palette. The string is not case-sensitive.

Examples

withColorTools:

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

PPalette:RedBlueGreen

(1)

AddPalettePrimary,P

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

(2)

KnownPaletteprimary

true

(3)

KnownPalettePrimary

true

(4)

KnownPalettePrim ary

false

(5)

Compatibility

• 

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

• 

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

See Also

ColorTools[Palette]