LCHColorWheel - Maple Help

Online Help

All Products    Maple    MapleSim


ColorTools

  

LCHColorWheel

  

plot the LCH color wheel

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

LCHColorWheel()

LCHColorWheel(number)

LCHColorWheel(number,colors)

Parameters

number

-

(optional) number of sectors to draw (the default is 72)

colors

-

(optional) a list of colors in formats recognized by ColorTools or a Palette object

Options

• 

saturation=float

  

A number between 0 and 5 for the LCH saturation of the colors in the wheel. (The default is 0.66.) In the LCH space, saturation is the ratio of the lightness and chroma coordinates.

• 

chroma=float

  

A number between 0 and 150 for the chroma value of the colors. If specified, this overrides the saturation option.

• 

lightness=range

  

A range of numbers from 0 to 150 for the range lightness values in the wheel. (The default range is 0..100.)

• 

nolegend=true or false

  

If true this prevents a legend of the colors list from being added to the plot.  This is false by default for fewer than 10 colors and true for 10 or more.

Description

• 

The LCHColorWheel command renders a color wheel in the LCH color space. If a list of colors is provided, circles are drawn on the wheel corresponding to the approximate· positions of those colors in LCH space. For colors given by Color objects or strings, a plot annotation will be created for its point.

Examples

withColorTools:

LCHColorWheelRed,Green,Blue,Yellow,nolegend

LCHColorWheel32,Red,Green,Blue,Yellow,saturation=0.35

LCHColorWheel32,chroma=35

LCHColorWheel32,chroma=35,lightness=65..150

Compatibility

• 

The ColorTools[LCHColorWheel] command was introduced in Maple 18.

• 

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

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Color]