RGBGrid - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ColorTools

  

RGBGrid

  

plot grids of RGB colors

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

RGBGrid(red=r);

RGBGrid(green=g);

RGBGrid(blue=b);

Parameters

r, g, b

-

value between 0 and 1

Description

• 

The RGBGrid command displays a grid of the colors with the given RGB color channel fixed at the specified value and the other two varying from 0 to 1.

Examples

withColorTools:

RGBGridred=0.5

RGBGridgreen=0.75

RGBGridblue=0.25

An error occurs in the next two examples because there must be exactly one argument.

RGBGrid

Error, (in ColorTools:-RGBGrid) invalid input: exactly one of red, blue, or green must be specified as a number between 0 and 1

RGBGridgreen=0.25,blue=0.25

Error, (in ColorTools:-RGBGrid) invalid input: exactly one of red, blue, or green must be specified as a number between 0 and 1

Compatibility

• 

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

• 

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

See Also

ColorTools