RGBGrid - Maple Help

ColorTools

 RGBGrid
 plot grids of RGB colors

 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

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{RGBGrid}\left(\mathrm{red}=0.5\right)$
 > $\mathrm{RGBGrid}\left(\mathrm{green}=0.75\right)$
 > $\mathrm{RGBGrid}\left(\mathrm{blue}=0.25\right)$

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

 > $\mathrm{RGBGrid}\left(\right)$
 > $\mathrm{RGBGrid}\left(\mathrm{green}=0.25,\mathrm{blue}=0.25\right)$

Compatibility

 • The ColorTools[RGBGrid] command was introduced in Maple 16.
 • For more information on Maple 16 changes, see Updates in Maple 16.